diff options
author | Alan Modra <amodra@gmail.com> | 2020-07-07 12:58:12 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2020-07-07 18:26:34 +0930 |
commit | 231b7382c061721f291d850a7a075d47e97de13c (patch) | |
tree | 480bd99be2d24b5930371e3fd946c7029b5d8024 /gas | |
parent | 7193487fa8d496a1df20eb8ea5007e9b43ac07cb (diff) | |
download | binutils-231b7382c061721f291d850a7a075d47e97de13c.zip binutils-231b7382c061721f291d850a7a075d47e97de13c.tar.gz binutils-231b7382c061721f291d850a7a075d47e97de13c.tar.bz2 |
Use is_pecoff_format in ld testsuite
--image-base 0 is not just for x86_64 mingw. This patch fixes that,
and a case where a changed LDFLAGS leaked out of one script to the next.
* testsuite/ld-scripts/align.exp: Use is_pecoff_format.
* testsuite/ld-scripts/defined.exp: Likewise.
* testsuite/ld-scripts/provide.exp: Likewise.
* testsuite/ld-scripts/weak.exp: Likewise.
* testsuite/ld-scripts/empty-address.exp: Likewise. Reset LDFLAGS
on exit.
* testsuite/ld-scripts/expr.exp: Set LDFLAGS earlier, and with
--image-base for PE.
* testsuite/ld-scripts/include.exp: Set LDFLAGS for PE.
* testsuite/ld-scripts/script.exp: Use is_pecoff_format, and
set LDFLAGS as well as flags.
Diffstat (limited to 'gas')
0 files changed, 0 insertions, 0 deletions