diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2007-08-17 13:22:44 +0000 |
---|---|---|
committer | Richard Sandiford <rdsandiford@googlemail.com> | 2007-08-17 13:22:44 +0000 |
commit | 3935e1af80865293a2a63395461872ea7c78615d (patch) | |
tree | e55dfb537cbe2df04c93a87d92a072fc64c557bf /ld/testsuite/lib/ld-lib.exp | |
parent | 429acdec2b3c85ab9eec2c6dba0f942783b0dc82 (diff) | |
download | gdb-3935e1af80865293a2a63395461872ea7c78615d.zip gdb-3935e1af80865293a2a63395461872ea7c78615d.tar.gz gdb-3935e1af80865293a2a63395461872ea7c78615d.tar.bz2 |
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].
Diffstat (limited to 'ld/testsuite/lib/ld-lib.exp')
-rw-r--r-- | ld/testsuite/lib/ld-lib.exp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ld/testsuite/lib/ld-lib.exp b/ld/testsuite/lib/ld-lib.exp index c983f1b..878af0c 100644 --- a/ld/testsuite/lib/ld-lib.exp +++ b/ld/testsuite/lib/ld-lib.exp @@ -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 } { |