Fix some strip test fails on nds32 and pru
authorAlan Modra <amodra@gmail.com>
Mon, 9 Apr 2018 23:44:29 +0000 (09:14 +0930)
committerAlan Modra <amodra@gmail.com>
Tue, 10 Apr 2018 00:11:25 +0000 (09:41 +0930)
commitd4ae1932770d9ec76f3d0a429aab45f1cb15e964
tree470b596b28dd5c5fd62e61f9bb2accd6292545c3
parent6c7c5081f01c8fc04474ff858240f1c3cd900d6e
Fix some strip test fails on nds32 and pru

Fixes these fails:
nds32le-linux  +FAIL: binutils-all/strip-14
nds32le-linux  +FAIL: binutils-all/strip-15
pru-elf  +FAIL: binutils-all/strip-14
pru-elf  +FAIL: binutils-all/strip-15

strip-13 fails on nds32 due to an assertion failure and out of bounds
access to nds32_elf_howto_table.

* testsuite/binutils-all/objcopy.exp (strip-14, strip-15): Choose
reloc=11 for pru and reloc=50 for nds32.
* testsuite/binutils-all/strip-15.d: Accept 0xb reloc number.
binutils/ChangeLog
binutils/testsuite/binutils-all/objcopy.exp
binutils/testsuite/binutils-all/strip-15.d