Add testcase for PR/24065.
This adds a new testcase for objcopy -O ihex to test that it correctly works. binutils/ChangeLog: PR 24065 * testsuite/binutils-all/copy-6.d: New test. * testsuite/binutils-all/objcopy.exp: Use it.
This commit is contained in:
parent
583068ca1d
commit
e3ecd63133
@ -1,3 +1,9 @@
|
||||
2019-01-08 Tamar Christina <tamar.christina@arm.com>
|
||||
|
||||
PR 24065
|
||||
* testsuite/binutils-all/copy-6.d: New test.
|
||||
* testsuite/binutils-all/objcopy.exp: Use it.
|
||||
|
||||
2019-01-08 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* testsuite/lib/binutils-common.exp (run_dump_test): Don't prepend
|
||||
|
8
binutils/testsuite/binutils-all/copy-6.d
Normal file
8
binutils/testsuite/binutils-all/copy-6.d
Normal file
@ -0,0 +1,8 @@
|
||||
#PROG: objcopy
|
||||
#source: bintest.s
|
||||
#objcopy: -O ihex
|
||||
# A few targets cannot assemble the bintest.s source file...
|
||||
#notarget: pdp11-* *-darwin
|
||||
#name: ihex objcopy test
|
||||
#objdump: -h
|
||||
#...
|
@ -1076,6 +1076,7 @@ run_dump_test "copy-2"
|
||||
run_dump_test "copy-3"
|
||||
run_dump_test "copy-4"
|
||||
run_dump_test "copy-5"
|
||||
run_dump_test "copy-6"
|
||||
|
||||
# Use bintest.o from the copy-4 test to determine ELF reloc type
|
||||
set reloc_format rel
|
||||
|
Loading…
x
Reference in New Issue
Block a user