diff options
author | Kai Tietz <kai.tietz@onevision.com> | 2009-06-25 14:41:18 +0000 |
---|---|---|
committer | Kai Tietz <kai.tietz@onevision.com> | 2009-06-25 14:41:18 +0000 |
commit | 204eb8bc8b00846d11fcbb3c7ff198725dc0ddac (patch) | |
tree | 6391211501bdf17a4df249030fee38785b5ff8c3 /ld/testsuite/ld-scripts | |
parent | bdeb4032eaf0e30991521429c3acc85987eda965 (diff) | |
download | gdb-204eb8bc8b00846d11fcbb3c7ff198725dc0ddac.zip gdb-204eb8bc8b00846d11fcbb3c7ff198725dc0ddac.tar.gz gdb-204eb8bc8b00846d11fcbb3c7ff198725dc0ddac.tar.bz2 |
2009-06-25 Kai Tietz <kai.tietz@onevision.com>
* ld-pe/aligncomm-1.c (size_t): Add typedef.
(main): Use it for casting pointer to scalar.
* ld-pe/aligncomm-2.c: Likewise.
* ld-pe/aligncomm-3.c: Likewise.
* ld-pe/aligncomm-4.c: Likewise.
* ld-scripts/empty-address.exp: Make sure that for x86_64-*-mingw*
target imagebase is set to zero.
* ld-scripts/weak.exp: Don't fail for x86_64-*-mingw* target.
Diffstat (limited to 'ld/testsuite/ld-scripts')
-rw-r--r-- | ld/testsuite/ld-scripts/empty-address.exp | 4 | ||||
-rw-r--r-- | ld/testsuite/ld-scripts/weak.exp | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/ld/testsuite/ld-scripts/empty-address.exp b/ld/testsuite/ld-scripts/empty-address.exp index e333ec1..8feb4ff 100644 --- a/ld/testsuite/ld-scripts/empty-address.exp +++ b/ld/testsuite/ld-scripts/empty-address.exp @@ -20,6 +20,10 @@ # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, # MA 02110-1301, USA. +if [istarget "x86_64-*-mingw*"] then { + set LDFLAGS "$LDFLAGS --image-base 0" +} + run_dump_test empty-address-1 run_dump_test empty-address-2a run_dump_test empty-address-2b diff --git a/ld/testsuite/ld-scripts/weak.exp b/ld/testsuite/ld-scripts/weak.exp index 5b5c00c..9abe807 100644 --- a/ld/testsuite/ld-scripts/weak.exp +++ b/ld/testsuite/ld-scripts/weak.exp @@ -32,7 +32,7 @@ if {! [is_elf_format] && ! [is_pecoff_format]} { # Weak symbols are broken for non-i386 PE targets. if {! [istarget i?86-*-*]} { setup_xfail *-*-pe* - setup_xfail x86_64-*-mingw* + setup_xfail x86_64-*-pe* } # hppa64 and or32 are incredibly broken |