binutils/testsuite: Enable `strip-13' test for `hppa*-*'
authorMaciej W. Rozycki <macro@mips.com>
Thu, 5 Apr 2018 12:08:35 +0000 (13:08 +0100)
committerMaciej W. Rozycki <macro@mips.com>
Thu, 5 Apr 2018 12:08:35 +0000 (13:08 +0100)
commitaad7be454bb3c8e2dd44c10cc16c80bacf8f04c0
tree8fa2a5a1a144cb0122a84c560547fa072fe650eb
parente778be0dd1a16cfd29cbfeec519c24d299334b91
binutils/testsuite: Enable `strip-13' test for `hppa*-*'

Based on relocations defined in include/elf/*.h files we have relocation
numbers: 143, 159, 214 and 215 currently not used by any of our ELF
targets.  Use 143 then instead of 241 to enable the `strip-13' test for
`hppa*-*' targets.  It has a side effect with some targets of verifying
that unused relocations whose numbers are below the respective R_*_max
value are handled correctly.

binutils/
* testsuite/binutils-all/strip-13.s: Use 143 (0x8f) rather than
241 (0xf1) for the relocation number and RELA addend.
* testsuite/binutils-all/strip-13.d: Remove `hppa*-*' from the
`not-target' list.
binutils/ChangeLog
binutils/testsuite/binutils-all/strip-13.d
binutils/testsuite/binutils-all/strip-13.s