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-tic6x | |
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-tic6x')
-rw-r--r-- | ld/testsuite/ld-tic6x/tic6x.exp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/ld/testsuite/ld-tic6x/tic6x.exp b/ld/testsuite/ld-tic6x/tic6x.exp index 858e879..fe47650 100644 --- a/ld/testsuite/ld-tic6x/tic6x.exp +++ b/ld/testsuite/ld-tic6x/tic6x.exp @@ -31,21 +31,21 @@ foreach test [lsort [glob -nocomplain $srcdir/$subdir/*.d]] { set shlibtests { {"C6X shared library without --dsbt-index" - "-shared -Tdsbt.ld --dsbt-size=3" + "-shared -Tdsbt.ld --dsbt-size=3" "" "-mdsbt -mpic -mpid=near" {shlib-1.s shlib-2.s} {{readelf -WSsrld shlib-noindex.rd} {objdump "-drj.plt -j.text" shlib-noindex.dd} {objdump -sj.got shlib-noindex.sd}} "libtestn.so"} {"C6X shared library, LE, RELA" - "-shared -Tdsbt.ld --dsbt-index=2 --dsbt-size=3" + "-shared -Tdsbt.ld --dsbt-index=2 --dsbt-size=3" "" "-mdsbt -mpic -mpid=near" {shlib-1.s shlib-2.s} {{readelf -WSsrld shlib-1.rd} {objdump "-drj.plt -j.text" shlib-1.dd} {objdump -sj.got shlib-1.sd}} "libtest.so"} {"C6X nonstatic app using shared library, LE, RELA" - "-Tdsbt.ld --dsbt-index 0 --dsbt-size=3 tmpdir/libtest.so" + "-Tdsbt.ld --dsbt-index 0 --dsbt-size=3 tmpdir/libtest.so" "" "-mdsbt -mpic -mpid=near" {shlib-app-1.s} {{readelf -WSsrld shlib-app-1.rd} {objdump "-drj.plt -j.text" shlib-app-1.dd} @@ -53,14 +53,14 @@ set shlibtests { {objdump -R shlib-app-1.od}} "shlib-dynapp-1"} {"C6X shared library, LE, REL" - "-shared -Tdsbt.ld --dsbt-index=2 --dsbt-size=3" + "-shared -Tdsbt.ld --dsbt-index=2 --dsbt-size=3" "" "-mdsbt -mpic -mpid=near -mgenerate-rel" {shlib-1.s shlib-2.s} {{readelf -WSsrld shlib-1r.rd} {objdump "-drj.plt -j.text" shlib-1r.dd} {objdump -sj.got shlib-1r.sd}} "libtestr.so"} {"C6X nonstatic app using shared library, LE, REL" - "-Tdsbt.ld --dsbt-index 0 --dsbt-size=3 tmpdir/libtestr.so" + "-Tdsbt.ld --dsbt-index 0 --dsbt-size=3 tmpdir/libtestr.so" "" "-mdsbt -mpic -mpid=near -mgenerate-rel" {shlib-app-1r.s} {{readelf -WSsrld shlib-app-1r.rd} {objdump "-drj.plt -j.text" shlib-app-1r.dd} @@ -68,14 +68,14 @@ set shlibtests { {objdump -R shlib-app-1r.od}} "shlib-dynapp-1r"} {"C6X shared library, BE, RELA" - "-shared -Tdsbt-be.ld --dsbt-index=2 --dsbt-size=3" + "-shared -Tdsbt-be.ld --dsbt-index=2 --dsbt-size=3" "" "-mdsbt -mpic -mpid=near -mbig-endian" {shlib-1.s shlib-2.s} {{readelf -WSsrld shlib-1b.rd} {objdump "-drj.plt -j.text" shlib-1b.dd} {objdump -sj.got shlib-1b.sd}} "libtestb.so"} {"C6X nonstatic app using shared library, BE, RELA" - "-Tdsbt-be.ld --dsbt-index 0 --dsbt-size=3 tmpdir/libtestb.so" + "-Tdsbt-be.ld --dsbt-index 0 --dsbt-size=3 tmpdir/libtestb.so" "" "-mdsbt -mpic -mpid=near -mbig-endian" {shlib-app-1.s} {{readelf -WSsrld shlib-app-1b.rd} {objdump "-drj.plt -j.text" shlib-app-1b.dd} @@ -83,14 +83,14 @@ set shlibtests { {objdump -R shlib-app-1b.od}} "shlib-dynapp-1b"} {"C6X shared library, BE, REL" - "-shared -Tdsbt-be.ld --dsbt-index=2 --dsbt-size=3" + "-shared -Tdsbt-be.ld --dsbt-index=2 --dsbt-size=3" "" "-mdsbt -mpic -mpid=near -mgenerate-rel -mbig-endian" {shlib-1.s shlib-2.s} {{readelf -WSsrld shlib-1rb.rd} {objdump "-drj.plt -j.text" shlib-1rb.dd} {objdump -sj.got shlib-1rb.sd}} "libtestrb.so"} {"C6X nonstatic app using shared library, BE, REL" - "-Tdsbt-be.ld --dsbt-index 0 --dsbt-size=3 tmpdir/libtestrb.so" + "-Tdsbt-be.ld --dsbt-index 0 --dsbt-size=3 tmpdir/libtestrb.so" "" "-mdsbt -mpic -mpid=near -mgenerate-rel -mbig-endian" {shlib-app-1r.s} {{readelf -WSsrld shlib-app-1rb.rd} {objdump "-drj.plt -j.text" shlib-app-1rb.dd} @@ -99,7 +99,7 @@ set shlibtests { "shlib-dynapp-1rb"} {"C6X static app, LE, RELA" - "-Tdsbt.ld --dsbt-index 0 --dsbt-size=3" + "-Tdsbt.ld --dsbt-index 0 --dsbt-size=3" "" "-mdsbt -mpic -mpid=near" {shlib-1.s shlib-2.s shlib-app-1.s} {{readelf -WSsrld static-app-1.rd} {objdump "-drj.plt -j.text" static-app-1.dd} @@ -107,7 +107,7 @@ set shlibtests { {objdump -R static-app-1.od}} "static-app-1"} {"C6X static app, LE, REL" - "-Tdsbt.ld --dsbt-index 0 --dsbt-size=3" + "-Tdsbt.ld --dsbt-index 0 --dsbt-size=3" "" "-mdsbt -mpic -mpid=near -mgenerate-rel" {shlib-1.s shlib-2.s shlib-app-1r.s} {{readelf -WSsrld static-app-1r.rd} {objdump "-drj.plt -j.text" static-app-1r.dd} @@ -115,7 +115,7 @@ set shlibtests { {objdump -R static-app-1r.od}} "static-app-1r"} {"C6X static app, BE, RELA" - "-Tdsbt-be.ld --dsbt-index 0 --dsbt-size=3" + "-Tdsbt-be.ld --dsbt-index 0 --dsbt-size=3" "" "-mdsbt -mpic -mpid=near -mbig-endian" {shlib-1.s shlib-2.s shlib-app-1.s} {{readelf -WSsrld static-app-1b.rd} {objdump "-drj.plt -j.text" static-app-1b.dd} @@ -123,7 +123,7 @@ set shlibtests { {objdump -R static-app-1b.od}} "static-app-1b"} {"C6X static app, BE, REL" - "-Tdsbt-be.ld --dsbt-index 0 --dsbt-size=3" + "-Tdsbt-be.ld --dsbt-index 0 --dsbt-size=3" "" "-mdsbt -mpic -mpid=near -mbig-endian -mgenerate-rel" {shlib-1.s shlib-2.s shlib-app-1r.s} {{readelf -WSsrld static-app-1rb.rd} {objdump "-drj.plt -j.text" static-app-1rb.dd} |