mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 03:22:56 +08:00
binutils/testsuite: Tighten the error message check with `strip-13'
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.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2018-04-05 Maciej W. Rozycki <macro@mips.com>
|
||||||
|
|
||||||
|
* testsuite/binutils-all/strip-13.d: Also expect `unsupported
|
||||||
|
relocation type 0x8f' error message.
|
||||||
|
|
||||||
2018-04-05 Maciej W. Rozycki <macro@mips.com>
|
2018-04-05 Maciej W. Rozycki <macro@mips.com>
|
||||||
|
|
||||||
* testsuite/binutils-all/strip-13.s: Rename to...
|
* testsuite/binutils-all/strip-13.s: Rename to...
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#PROG: strip
|
#PROG: strip
|
||||||
#strip: -g
|
#strip: -g
|
||||||
#error: .* bad value
|
#error: \A[^\n]*: unsupported relocation type 0x8f\n
|
||||||
|
#error: [^\n]*: bad value\Z
|
||||||
#not-target: h8300-* ip2k-* m6811-* m68hc11-* rx-*
|
#not-target: h8300-* ip2k-* m6811-* m68hc11-* rx-*
|
||||||
# The H8300-*, IP2K and 68HC11 targets use 16-bit addressing, so `.dc.a'
|
# The H8300-*, IP2K and 68HC11 targets use 16-bit addressing, so `.dc.a'
|
||||||
# does not work for manual relocation data construction.
|
# does not work for manual relocation data construction.
|
||||||
|
Reference in New Issue
Block a user