aboutsummaryrefslogtreecommitdiff
path: root/binutils/testsuite/binutils-all/strip-13.d
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@mips.com>2018-04-05 13:08:35 +0100
committerMaciej W. Rozycki <macro@mips.com>2018-04-05 13:08:35 +0100
commitaad7be454bb3c8e2dd44c10cc16c80bacf8f04c0 (patch)
tree8fa2a5a1a144cb0122a84c560547fa072fe650eb /binutils/testsuite/binutils-all/strip-13.d
parente778be0dd1a16cfd29cbfeec519c24d299334b91 (diff)
downloadgdb-aad7be454bb3c8e2dd44c10cc16c80bacf8f04c0.zip
gdb-aad7be454bb3c8e2dd44c10cc16c80bacf8f04c0.tar.gz
gdb-aad7be454bb3c8e2dd44c10cc16c80bacf8f04c0.tar.bz2
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.
Diffstat (limited to 'binutils/testsuite/binutils-all/strip-13.d')
-rw-r--r--binutils/testsuite/binutils-all/strip-13.d3
1 files changed, 1 insertions, 2 deletions
diff --git a/binutils/testsuite/binutils-all/strip-13.d b/binutils/testsuite/binutils-all/strip-13.d
index a34e1eb..48549c7 100644
--- a/binutils/testsuite/binutils-all/strip-13.d
+++ b/binutils/testsuite/binutils-all/strip-13.d
@@ -1,9 +1,8 @@
#PROG: strip
#strip: -g
#error: .* bad value
-#not-target: arm-* d10v-* dlx-* h8300-* hppa*-* ip2k-* rx-* xgate-*
+#not-target: arm-* d10v-* dlx-* h8300-* ip2k-* rx-* xgate-*
# The D10V, DLX and XGATE targets only support REL relocations but this test uses RELA relocations.
# The ARM target does support both types, but defaults to REL.
-# The HPPA targets use reloc 241, which is the value this test uses as its "unknown" reloc.
# The H8300-*, IP2K and RX targets do not complain about unrecognised relocs, unless they are actually used
# (which is what should really happen with the other targets...)