diff options
author | Alan Modra <amodra@gmail.com> | 2021-08-19 13:15:06 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2021-08-24 20:39:29 +0930 |
commit | d4f5b5e214d1a2a8456e71bd04cd3205d8839642 (patch) | |
tree | 6e334c50c2aa1633603a0661b52c32fe25f05bf2 /ld/ldexp.h | |
parent | ee077885e5d182d0d9fba090f3505f16f640dff7 (diff) | |
download | gdb-d4f5b5e214d1a2a8456e71bd04cd3205d8839642.zip gdb-d4f5b5e214d1a2a8456e71bd04cd3205d8839642.tar.gz gdb-d4f5b5e214d1a2a8456e71bd04cd3205d8839642.tar.bz2 |
objdump -S test fail on mingw
FAIL: objdump -S
FAIL: objdump --source-comment
is seen on mingw for the simple reason that gcc adds a .exe suffix on
the output file if not already present. Fix that, and tidy some objcopy
tests.
* testsuite/lib/binutils-common.exp (exeext): New proc.
* testsuite/binutils-all/objcopy.exp (exe, test_prog): Use it here.
(objcopy_remove_relocations_from_executable): Catch objcopy errors.
Only run on ELF targets.
* testsuite/binutils-all/objdump.exp (exe): Set variable.
(test_build_id_debuglink, test_objdump_S): Use exe file suffix.
Diffstat (limited to 'ld/ldexp.h')
0 files changed, 0 insertions, 0 deletions