diff options
Diffstat (limited to 'ld/testsuite/ld-elf/elf.exp')
-rw-r--r-- | ld/testsuite/ld-elf/elf.exp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/elf.exp b/ld/testsuite/ld-elf/elf.exp index bb7f4b0..96ee01f 100644 --- a/ld/testsuite/ld-elf/elf.exp +++ b/ld/testsuite/ld-elf/elf.exp @@ -95,6 +95,12 @@ if [is_underscore_target] { set ASFLAGS "$ASFLAGS --defsym UNDERSCORE=1" } +global ASFLAGS +set saved_ASFLAGS "$ASFLAGS" +if { [istarget "i?86-*-*"] || [istarget "x86_64-*-*"] } { + set ASFLAGS "$ASFLAGS -mx86-used-note=no" +} + set test_list [lsort [glob -nocomplain $srcdir/$subdir/*.d]] foreach t $test_list { # We need to strip the ".d", but can leave the dirname. @@ -102,6 +108,8 @@ foreach t $test_list { run_dump_test [file rootname $t] } +set ASFLAGS "$saved_ASFLAGS" + # Targets using the generic linker backend don't support generating # an import library. set xfail_implib "" |