diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2013-02-19 01:10:06 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@linux-mips.org> | 2013-02-19 01:10:06 +0000 |
commit | 897aea504d5f5ba75b021e0a817d4ea9337a378d (patch) | |
tree | dcb2e06fd6e52b9aed65119d926a849c52fbe46a /ld/testsuite/ld-pe | |
parent | 11e965c4b6473d677e6a459e7d22e9ea7b7ebfb6 (diff) | |
download | gdb-897aea504d5f5ba75b021e0a817d4ea9337a378d.zip gdb-897aea504d5f5ba75b021e0a817d4ea9337a378d.tar.gz gdb-897aea504d5f5ba75b021e0a817d4ea9337a378d.tar.bz2 |
* lib/ld-lib.exp (run_ld_link_tests): Add another argument, pass
its contents to ar_simple_create and ld_simple_link after
objfiles.
* ld-aarch64/aarch64-elf.exp: Adjust accordingly.
* ld-alpha/alpha.exp: Likewise.
* ld-arm/arm-elf.exp: Likewise.
* ld-arm/export-class.exp: Likewise.
* ld-elf/comm-data.exp: Likewise.
* ld-elf/eh-group.exp: Likewise.
* ld-elf/elf.exp: Likewise.
* ld-elf/export-class.exp: Likewise.
* ld-elfvers/vers.exp: Likewise.
* ld-frv/tls.exp: Likewise.
* ld-i386/export-class.exp: Likewise.
* ld-i386/i386.exp: Likewise.
* ld-ia64/ia64.exp: Likewise.
* ld-libs/libs.exp: Likewise.
* ld-m68k/m68k.exp: Likewise.
* ld-metag/metag.exp: Likewise.
* ld-mips-elf/comm-data.exp: Likewise.
* ld-mips-elf/export-class.exp: Likewise.
* ld-mips-elf/mips-elf.exp: Likewise.
* ld-mn10300/mn10300.exp: Likewise.
* ld-pe/pe-compile.exp: Likewise.
* ld-pe/pe.exp: Likewise.
* ld-plugin/plugin.exp: Likewise.
* ld-powerpc/aix52.exp: Likewise.
* ld-powerpc/export-class.exp: Likewise.
* ld-powerpc/powerpc.exp: Likewise.
* ld-s390/s390.exp: Likewise.
* ld-sh/sh-vxworks.exp: Likewise.
* ld-sh/sh64/sh64.exp: Likewise.
* ld-sparc/sparc.exp: Likewise.
* ld-tic6x/tic6x.exp: Likewise.
* ld-tilegx/tilegx.exp: Likewise.
* ld-tilepro/tilepro.exp: Likewise.
* ld-undefined/entry.exp: Likewise.
* ld-vax-elf/vax-elf.exp: Likewise.
* ld-x86-64/dwarfreloc.exp: Likewise.
* ld-x86-64/export-class.exp: Likewise.
* ld-x86-64/x86-64.exp: Likewise.
* ld-xc16x/xc16x.exp: Likewise.
* ld-xstormy16/xstormy16.exp: Likewise.
* ld-xtensa/xtensa.exp: Likewise.
Diffstat (limited to 'ld/testsuite/ld-pe')
-rwxr-xr-x | ld/testsuite/ld-pe/pe-compile.exp | 8 | ||||
-rw-r--r-- | ld/testsuite/ld-pe/pe.exp | 20 |
2 files changed, 14 insertions, 14 deletions
diff --git a/ld/testsuite/ld-pe/pe-compile.exp b/ld/testsuite/ld-pe/pe-compile.exp index d912719..750f5c0 100755 --- a/ld/testsuite/ld-pe/pe-compile.exp +++ b/ld/testsuite/ld-pe/pe-compile.exp @@ -130,13 +130,13 @@ if {[istarget i*86-*-cygwin*] } set align_tests { - {"aligned common 1" "" "" {aligncomm-1.c} + {"aligned common 1" "" "" "" {aligncomm-1.c} {{nm -C aligncomm.d}} "aligncomm-1.x"} - {"aligned common 2" "" "" {aligncomm-2.c} + {"aligned common 2" "" "" "" {aligncomm-2.c} {{nm -C aligncomm.d}} "aligncomm-2.x"} - {"aligned common 3" "" "" {aligncomm-3.c} + {"aligned common 3" "" "" "" {aligncomm-3.c} {{nm -C aligncomm.d}} "aligncomm-3.x"} - {"aligned common 4" "" "" {aligncomm-4.c} + {"aligned common 4" "" "" "" {aligncomm-4.c} {{nm -C aligncomm.d}} "aligncomm-4.x"} } diff --git a/ld/testsuite/ld-pe/pe.exp b/ld/testsuite/ld-pe/pe.exp index c72c3b1..df26f6d 100644 --- a/ld/testsuite/ld-pe/pe.exp +++ b/ld/testsuite/ld-pe/pe.exp @@ -34,29 +34,29 @@ if {[istarget i*86-*-cygwin*] if {[istarget x86_64-*-mingw*] } { set pe_tests { - {".secrel32" "" "" {secrel1.s secrel2.s} + {".secrel32" "" "" "" {secrel1.s secrel2.s} {{objdump -s secrel_64.d}} "secrel.x"} - {"Empty export table" "" "" "exports.s" + {"Empty export table" "" "" "" "exports.s" {{objdump -p exports64.d}} "exports.dll"} - {"TLS directory entry" "" "" "tlssec.s" + {"TLS directory entry" "" "" "" "tlssec.s" {{objdump -p tlssec64.d}} "tlssec.dll"} } } elseif {[istarget i*86-*-cygwin*] } { set pe_tests { - {".secrel32" "--disable-auto-import" "" {secrel1.s secrel2.s} + {".secrel32" "--disable-auto-import" "" "" {secrel1.s secrel2.s} {{objdump -s secrel.d}} "secrel.x"} - {"Empty export table" "" "" "exports.s" + {"Empty export table" "" "" "" "exports.s" {{objdump -p exports.d}} "exports.dll"} - {"TLS directory entry" "" "" "tlssec.s" + {"TLS directory entry" "" "" "" "tlssec.s" {{objdump -p tlssec32.d}} "tlssec.dll"} } } else { set pe_tests { - {".secrel32" "" "" {secrel1.s secrel2.s} + {".secrel32" "" "" "" {secrel1.s secrel2.s} {{objdump -s secrel.d}} "secrel.x"} - {"Empty export table" "" "" "exports.s" + {"Empty export table" "" "" "" "exports.s" {{objdump -p exports.d}} "exports.dll"} - {"TLS directory entry" "" "" "tlssec.s" + {"TLS directory entry" "" "" "" "tlssec.s" {{objdump -p tlssec32.d}} "tlssec.dll"} } } @@ -84,7 +84,7 @@ if {[istarget x86_64-*-mingw*] } { } set foreign_sym_test { - {"non-C aligned common" "" "" {non-c-lang-syms.s} + {"non-C aligned common" "" "" "" {non-c-lang-syms.s} {{nm -C non-c-lang-syms.d}} "non-c-lang-syms.x"} } |