mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
65bd20451f
Avoid false positives and actually verify both that an `unsupported relocation type 0x8f' message is produced and that no other message is, except for the final `bad value', in the `strip-13' test. This ensures that it is a relocation processing error and not a different issue that has caused `strip' to terminate unsuccessfully, and that the number representing the unsupported relocation has not been clobbered. binutils/ * testsuite/binutils-all/strip-13.d: Also expect `unsupported relocation type 0x8f' error message.
11 lines
448 B
Makefile
11 lines
448 B
Makefile
#PROG: strip
|
|
#strip: -g
|
|
#error: \A[^\n]*: unsupported relocation type 0x8f\n
|
|
#error: [^\n]*: bad value\Z
|
|
#not-target: h8300-* ip2k-* m6811-* m68hc11-* rx-*
|
|
# The H8300-*, IP2K and 68HC11 targets use 16-bit addressing, so `.dc.a'
|
|
# does not work for manual relocation data construction.
|
|
# The RX targets do not complain about unrecognised relocs, unless they
|
|
# are actually used
|
|
# (which is what should really happen with the other targets...)
|