diff options
author | Dave Korn <dave.korn@artimi.com> | 2009-02-27 19:01:57 +0000 |
---|---|---|
committer | Dave Korn <dave.korn@artimi.com> | 2009-02-27 19:01:57 +0000 |
commit | 5b9c60272e18b69b70862cd9ca26e41e5bc8d9c8 (patch) | |
tree | 06f262b11b6b2cb9ad0bb0a9c311168065099eca /ld/testsuite/ld-pe | |
parent | a2f63f5efafc75e93d882fa2bfcbe8489aa997d3 (diff) | |
download | gdb-5b9c60272e18b69b70862cd9ca26e41e5bc8d9c8.zip gdb-5b9c60272e18b69b70862cd9ca26e41e5bc8d9c8.tar.gz gdb-5b9c60272e18b69b70862cd9ca26e41e5bc8d9c8.tar.bz2 |
ld/ChangeLog
* emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Set
default state of auto-import flag based on $target.
ld/testsuite/ChangeLog
* ld-pe/pe.exp: Disable auto-import when linking on Cygwin.
Diffstat (limited to 'ld/testsuite/ld-pe')
-rw-r--r-- | ld/testsuite/ld-pe/pe.exp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ld/testsuite/ld-pe/pe.exp b/ld/testsuite/ld-pe/pe.exp index 12b330d..f489e89 100644 --- a/ld/testsuite/ld-pe/pe.exp +++ b/ld/testsuite/ld-pe/pe.exp @@ -34,6 +34,11 @@ if {[istarget x86_64-*-mingw*] } { {".secrel32" "" "" {secrel1.s secrel2.s}
{{objdump -s secrel_64.d}} "secrel.x"}
}
+} elseif {[istarget i*86-*-cygwin*] } {
+ set pe_tests {
+ {".secrel32" "--disable-auto-import" "" {secrel1.s secrel2.s}
+ {{objdump -s secrel.d}} "secrel.x"}
+ }
} else {
set pe_tests {
{".secrel32" "" "" {secrel1.s secrel2.s}
|