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-elf/elf.exp | |
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-elf/elf.exp')
-rw-r--r-- | ld/testsuite/ld-elf/elf.exp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/ld/testsuite/ld-elf/elf.exp b/ld/testsuite/ld-elf/elf.exp index 50634c6..236e15b 100644 --- a/ld/testsuite/ld-elf/elf.exp +++ b/ld/testsuite/ld-elf/elf.exp @@ -56,23 +56,23 @@ if { [is_remote host] } then { if { ![istarget hppa64*-hpux*] } { run_ld_link_tests { {"Build symbol3.a" - "" "" + "" "" "" {symbol3.s} {} "symbol3.a"} {"Build symbol3w.a" - "" "" + "" "" "" {symbol3w.s} {} "symbol3w.a"} } if { [check_shared_lib_support] } then { run_ld_link_tests { - {"Build pr14170a.o" "" "" "pr14170a.s" {} "pr14170.a" } + {"Build pr14170a.o" "" "" "" "pr14170a.s" {} "pr14170.a" } } setup_xfail "tic6x-*-*" run_ld_link_tests { {"Build shared library for pr14170" - "-shared" "" "pr14170b.s" {} "pr14170.so" } + "-shared" "" "" "pr14170b.s" {} "pr14170.so" } {"PR ld/14170" - "tmpdir/pr14170a.o tmpdir/pr14170.so" "" "pr14170c.s" + "tmpdir/pr14170a.o tmpdir/pr14170.so" "" "" "pr14170c.s" { } "pr14170" } } } @@ -88,9 +88,9 @@ if { [check_shared_lib_support] } then { setup_xfail "tic6x-*-*" run_ld_link_tests { {"Build shared library for next test" - "-shared" "" "note-3.s" {} "note-3.so" } + "-shared" "" "" "note-3.s" {} "note-3.so" } {"Link using broken linker script" - "--script note-3.t tmpdir/note-3.so" "" "" + "--script note-3.t tmpdir/note-3.so" "" "" "" { { ld "note-3.l" } } "a.out" } } @@ -108,11 +108,11 @@ if { [istarget *-*-linux*] || [istarget *-*-gnu*] } { run_ld_link_tests { {"Weak symbols in dynamic objects 1 (support)" - "-shared" "" {weak-dyn-1a.s} + "-shared" "" "" {weak-dyn-1a.s} {} "libweakdyn1a.so"} {"Weak symbols in dynamic objects 1 (main test)" - "-shared tmpdir/libweakdyn1a.so -Tweak-dyn-1.ld" "" {weak-dyn-1b.s} + "-shared tmpdir/libweakdyn1a.so -Tweak-dyn-1.ld" "" "" {weak-dyn-1b.s} {{readelf {--relocs --wide} weak-dyn-1.rd}} "libweakdyn1b.so"} } @@ -122,7 +122,7 @@ if { [istarget *-*-linux*] if { [check_gc_sections_available] && ![istarget "v850-*-*"] } { run_ld_link_tests { {"--gc-sections on tls variable" - "--gc-section" "" {tls_gc.s} {} "tls_gc"} + "--gc-section" "" "" {tls_gc.s} {} "tls_gc"} } } @@ -130,9 +130,9 @@ if { [istarget *-*-*linux*] || [istarget *-*-nacl*] || [istarget *-*-gnu*] } { run_ld_link_tests { - {"stack exec" "-z execstack" "" {stack.s} + {"stack exec" "-z execstack" "" "" {stack.s} {{readelf {-Wl} stack-exec.rd}} "stack-exec.exe"} - {"stack size" "-z stack-size=0x123400" "" {stack.s} + {"stack size" "-z stack-size=0x123400" "" "" {stack.s} {{readelf {-Wl} stack-size.rd}} "stack-size.exe"} } } |