ld/testsuite/
authorRichard Sandiford <rdsandiford@googlemail.com>
Fri, 17 Aug 2007 13:22:44 +0000 (13:22 +0000)
committerRichard Sandiford <rdsandiford@googlemail.com>
Fri, 17 Aug 2007 13:22:44 +0000 (13:22 +0000)
* lib/ld-lib.exp (run_dump_test): Allow [big_or_little_endian]
to appear in assembler and linker options.
* ld-mips-elf/vxworks1-static.d (ld): Add [big_or_little_endian].

ld/testsuite/ChangeLog
ld/testsuite/ld-mips-elf/vxworks1-static.d
ld/testsuite/lib/ld-lib.exp

index eba8a7a9f111509eaba2094c87841bb0c36461eb..b504105cfb044efe63bd1fbf478571dd4c3fd75e 100644 (file)
@@ -1,3 +1,9 @@
+2007-08-17  Richard Sandiford  <richard@codesourcery.com>
+
+       * lib/ld-lib.exp (run_dump_test): Allow [big_or_little_endian]
+       to appear in assembler and linker options.
+       * ld-mips-elf/vxworks1-static.d (ld): Add [big_or_little_endian].
+
 2007-08-16  Alan Modra  <amodra@bigpond.net.au>
 
        * ld-srec/srec.exp: Always pass "-G 0".  Remove all powerpc
index 88c0baf1bbb5c8525b541ce73ada0aec6b505bbf..69765ae5ab43f12b3e1411593b2d1f724f354214 100644 (file)
@@ -1,4 +1,4 @@
 #name: VxWorks executable test 1 (static)
 #source: vxworks1.s
-#ld: tmpdir/libvxworks1.so -Tvxworks1.ld
+#ld: tmpdir/libvxworks1.so -Tvxworks1.ld [big_or_little_endian]
 #error: Dynamic sections created in non-dynamic link
index c983f1b4bf7e1c33e4a0edba6a5084a7f7384ed0..878af0c5130accfa51ce3dda1f0c4c62531c58e0 100644 (file)
@@ -708,6 +708,10 @@ proc run_dump_test { name } {
        }
        set opts($opt_name) [concat $opts($opt_name) $opt_val]
     }
+    foreach opt { as ld } {
+       regsub {\[big_or_little_endian\]} $opts($opt) \
+           [big_or_little_endian] opts($opt)
+    }
 
     # Decide early whether we should run the test for this target.
     if { [llength $opts(target)] > 0 } {
This page took 0.026525 seconds and 4 git commands to generate.