binutils-gdb/binutils/testsuite/binutils-all/strip-15mips64.s
Maciej W. Rozycki d52e3d06e5 binutils/testsuite: Fix a crash with STN_UNDEF in relocation
Verify that `strip' completes successfully and a correct relocation
entry is copied for a relocation encountered with the STN_UNDEF symbol
index.

	binutils/
	* testsuite/binutils-all/strip-15.d: New test.
	* testsuite/binutils-all/strip-15rel.s: New test source.
	* testsuite/binutils-all/strip-15rela.s: New test source.
	* testsuite/binutils-all/strip-15mips64.s: New test source.
	* testsuite/binutils-all/objcopy.exp: Run the new test.
2018-04-09 13:42:01 +01:00

15 lines
184 B
ArmAsm

.text
foo:
.dc.l 0x12345678
.section .rela.text
.dc.a 0
.dc.l 0x00000000
.dc.b 0, 0, 0, RELOC
.dc.a 0x000055aa
.dc.a 0
.dc.l 0
.dc.b 0, 0, 0, 0
.dc.a 0