ld/testsuite/

* 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].
This commit is contained in:
Richard Sandiford 2007-08-17 13:22:44 +00:00
parent 429acdec2b
commit 3935e1af80
3 changed files with 11 additions and 1 deletions

View 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

View 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

View 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 } {