binutils/testsuite: Fix a crash with STN_UNDEF in relocation
authorMaciej W. Rozycki <macro@mips.com>
Mon, 9 Apr 2018 12:42:01 +0000 (13:42 +0100)
committerMaciej W. Rozycki <macro@mips.com>
Mon, 9 Apr 2018 12:42:01 +0000 (13:42 +0100)
commitd52e3d06e5db7041913278caace3389504c0478c
tree1480a5d003446c1f36261e9439f9291adb23647a
parentaec2e0d252342aa7575aff608e999a36f27a9147
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.
binutils/ChangeLog
binutils/testsuite/binutils-all/objcopy.exp
binutils/testsuite/binutils-all/strip-15.d [new file with mode: 0644]
binutils/testsuite/binutils-all/strip-15mips64.s [new file with mode: 0644]
binutils/testsuite/binutils-all/strip-15rel.s [new file with mode: 0644]
binutils/testsuite/binutils-all/strip-15rela.s [new file with mode: 0644]
This page took 0.023945 seconds and 4 git commands to generate.