diff options
Diffstat (limited to 'binutils/testsuite/binutils-all/objcopy.exp')
-rw-r--r-- | binutils/testsuite/binutils-all/objcopy.exp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/binutils/testsuite/binutils-all/objcopy.exp b/binutils/testsuite/binutils-all/objcopy.exp index 430b7fe..85a320b 100644 --- a/binutils/testsuite/binutils-all/objcopy.exp +++ b/binutils/testsuite/binutils-all/objcopy.exp @@ -398,6 +398,7 @@ strip_test_with_saving_a_symbol proc copy_setup { } { global srcdir global subdir + global gcc_gas_flag set res [build_wrapper testglue.o]; set flags { debug }; @@ -409,6 +410,11 @@ proc copy_setup { } { set add_libs ""; } + if { [istarget *-*-linux*] } { + foreach i $gcc_gas_flag { + set flags "additional_flags=$i $flags" + } + } if { [target_compile "$srcdir/$subdir/testprog.c $add_libs" tmpdir/testprog executable $flags] != "" } { return 2 } |