From: H.J. Lu Date: Tue, 30 Sep 2003 18:03:54 +0000 (+0000) Subject: 2003-09-30 H.J. Lu X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a98f9b6c0d184ddf0e573fbb3bdb57a1e98511e9;p=binutils-gdb.git 2003-09-30 H.J. Lu * ld-ia64/ia64.exp: Remove -melf64_ia64. * ld-ia64/tlsbin.dd: Remove -melf64_ia64. Match elf..-ia64-.* instead of elf64-ia64-little. * ld-ia64/tlsbin.rd: Likewise. * ld-ia64/tlsbin.sd: Likewise. * ld-ia64/tlsbin.td: Likewise. * ld-ia64/tlsg.sd: Likewise. * ld-ia64/tlspic.dd: Likewise. * ld-ia64/tlspic.rd: Likewise. * ld-ia64/tlspic.sd: Likewise. * ld-ia64/tlspic.td: Likewise. --- diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 643db87fcd5..160ee1397dd 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,18 @@ +2003-09-30 H.J. Lu + + * ld-ia64/ia64.exp: Remove -melf64_ia64. + + * ld-ia64/tlsbin.dd: Remove -melf64_ia64. Match elf..-ia64-.* + instead of elf64-ia64-little. + * ld-ia64/tlsbin.rd: Likewise. + * ld-ia64/tlsbin.sd: Likewise. + * ld-ia64/tlsbin.td: Likewise. + * ld-ia64/tlsg.sd: Likewise. + * ld-ia64/tlspic.dd: Likewise. + * ld-ia64/tlspic.rd: Likewise. + * ld-ia64/tlspic.sd: Likewise. + * ld-ia64/tlspic.td: Likewise. + 2003-09-30 Chris Demetriou * ld-mips-elf/mips-elf-flags.exp: Add tests for combinations diff --git a/ld/testsuite/ld-ia64/ia64.exp b/ld/testsuite/ld-ia64/ia64.exp index be96171fe2c..0af04369274 100644 --- a/ld/testsuite/ld-ia64/ia64.exp +++ b/ld/testsuite/ld-ia64/ia64.exp @@ -34,19 +34,19 @@ if { !([istarget "ia64-*-elf*"] # readelf: Apply readelf options on result. Compare with regex (last arg). set ia64tests { - {"TLS -fpic -shared" "-shared -melf64_ia64" + {"TLS -fpic -shared" "-shared" "" {tlspic1.s tlspic2.s} {{readelf -WSsrl tlspic.rd} {objdump -drj.text tlspic.dd} {objdump -sj.got tlspic.sd} {objdump -sj.tdata tlspic.td}} "libtlspic.so"} - {"Helper shared library" "-shared -melf64_ia64" + {"Helper shared library" "-shared" "" {tlslib.s} {} "libtlslib.so"} {"TLS -fpic and -fno-pic exec" - "-melf64_ia64 tmpdir/libtlslib.so" "" {tlsbinpic.s tlsbin.s} + "tmpdir/libtlslib.so" "" {tlsbinpic.s tlsbin.s} {{readelf -WSsrl tlsbin.rd} {objdump -drj.text tlsbin.dd} {objdump -sj.got tlsbin.sd} {objdump -sj.tdata tlsbin.td}} "tlsbin"} - {"TLS in debug sections" "-melf64_ia64" + {"TLS in debug sections" "" "" {tlsg.s} {{objdump -sj.debug_foobar tlsg.sd}} "tlsg"} } diff --git a/ld/testsuite/ld-ia64/tlsbin.dd b/ld/testsuite/ld-ia64/tlsbin.dd index aa395e9c942..c3177b83b19 100644 --- a/ld/testsuite/ld-ia64/tlsbin.dd +++ b/ld/testsuite/ld-ia64/tlsbin.dd @@ -1,11 +1,11 @@ #source: tlsbinpic.s #source: tlsbin.s #as: -#ld: -shared -melf64_ia64 +#ld: -shared #objdump: -drj.text #target: ia64-*-* -.*: +file format elf64-ia64-little +.*: +file format elf..-ia64-.* Disassembly of section .text: diff --git a/ld/testsuite/ld-ia64/tlsbin.rd b/ld/testsuite/ld-ia64/tlsbin.rd index f93e7d3c4ea..466c5b42826 100644 --- a/ld/testsuite/ld-ia64/tlsbin.rd +++ b/ld/testsuite/ld-ia64/tlsbin.rd @@ -1,7 +1,7 @@ #source: tlsbinpic.s #source: tlsbin.s #as: -#ld: -shared -melf64_ia64 +#ld: -shared #readelf: -WSsrl #target: ia64-*-* diff --git a/ld/testsuite/ld-ia64/tlsbin.sd b/ld/testsuite/ld-ia64/tlsbin.sd index f5a8aaedee5..847a20d38d3 100644 --- a/ld/testsuite/ld-ia64/tlsbin.sd +++ b/ld/testsuite/ld-ia64/tlsbin.sd @@ -1,11 +1,11 @@ #source: tlsbinpic.s #source: tlsbin.s #as: -#ld: -shared -melf64_ia64 +#ld: -shared #objdump: -sj.got #target: ia64-*-* -.*: +file format elf64-ia64-little +.*: +file format elf..-ia64-.* Contents of section .got: (60+)?21b0 0+ 0+ 0+ 0+ .* diff --git a/ld/testsuite/ld-ia64/tlsbin.td b/ld/testsuite/ld-ia64/tlsbin.td index b78798a24fb..3d580777745 100644 --- a/ld/testsuite/ld-ia64/tlsbin.td +++ b/ld/testsuite/ld-ia64/tlsbin.td @@ -1,11 +1,11 @@ #source: tlsbinpic.s #source: tlsbin.s #as: -#ld: -shared -melf64_ia64 +#ld: -shared #objdump: -sj.tdata #target: ia64-*-* -.*: +file format elf64-ia64-little +.*: +file format elf..-ia64-.* Contents of section .tdata: (60+)?2000 11000000 12000000 13000000 14000000 .* diff --git a/ld/testsuite/ld-ia64/tlsg.sd b/ld/testsuite/ld-ia64/tlsg.sd index c426a991f7b..67bc9cdd4ed 100644 --- a/ld/testsuite/ld-ia64/tlsg.sd +++ b/ld/testsuite/ld-ia64/tlsg.sd @@ -1,10 +1,10 @@ #source: tlsg.s #as: -#ld: -melf64_ia64 +#ld: #objdump: -sj.debug_foobar #target: ia64-*-* -.*: +file format elf64-ia64-little +.*: +file format elf..-ia64-.* Contents of section .debug_foobar: 0+ 18000000 0+ +.* diff --git a/ld/testsuite/ld-ia64/tlspic.dd b/ld/testsuite/ld-ia64/tlspic.dd index 1e7db2c6564..79da6af0702 100644 --- a/ld/testsuite/ld-ia64/tlspic.dd +++ b/ld/testsuite/ld-ia64/tlspic.dd @@ -1,11 +1,11 @@ #source: tlspic1.s #source: tlspic2.s #as: -#ld: -shared -melf64_ia64 +#ld: #objdump: -drj.text #target: ia64-*-* -.*: +file format elf64-ia64-little +.*: +file format elf..-ia64-.* Disassembly of section .text: diff --git a/ld/testsuite/ld-ia64/tlspic.rd b/ld/testsuite/ld-ia64/tlspic.rd index 87c5de59c1c..1088f8efa26 100644 --- a/ld/testsuite/ld-ia64/tlspic.rd +++ b/ld/testsuite/ld-ia64/tlspic.rd @@ -1,7 +1,7 @@ #source: tlspic1.s #source: tlspic2.s #as: -#ld: -shared -melf64_ia64 +#ld: -shared #readelf: -WSsrl #target: ia64-*-* diff --git a/ld/testsuite/ld-ia64/tlspic.sd b/ld/testsuite/ld-ia64/tlspic.sd index 01486fe19b6..41d49511acc 100644 --- a/ld/testsuite/ld-ia64/tlspic.sd +++ b/ld/testsuite/ld-ia64/tlspic.sd @@ -1,11 +1,11 @@ #source: tlspic1.s #source: tlspic2.s #as: -#ld: -shared -melf64_ia64 +#ld: -shared #objdump: -sj.got #target: ia64-*-* -.*: +file format elf64-ia64-little +.*: +file format elf..-ia64-.* Contents of section .got: 121a0 0+ 0+ 0+ 0+ .* diff --git a/ld/testsuite/ld-ia64/tlspic.td b/ld/testsuite/ld-ia64/tlspic.td index 67debe68797..16c4a8a50ed 100644 --- a/ld/testsuite/ld-ia64/tlspic.td +++ b/ld/testsuite/ld-ia64/tlspic.td @@ -1,11 +1,11 @@ #source: tlspic1.s #source: tlspic2.s #as: -#ld: -shared -melf64_ia64 +#ld: -shared #objdump: -sj.tdata #target: ia64-*-* -.*: +file format elf64-ia64-little +.*: +file format elf..-ia64-.* Contents of section .tdata: 12000 11000000 12000000 13000000 14000000 .*