mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-09 21:31:30 +08:00
abi-avx.exp: Link with gcc.target/i386/clearcap.map if supported.
* gcc.target/x86_64/abi/avx/abi-avx.exp: Link with gcc.target/i386/clearcap.map if supported. From-SVN: r163827
This commit is contained in:
parent
87df9ea5a0
commit
601d5a25b2
@ -1,3 +1,8 @@
|
||||
2010-09-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||
|
||||
* gcc.target/x86_64/abi/avx/abi-avx.exp: Link with
|
||||
gcc.target/i386/clearcap.map if supported.
|
||||
|
||||
2010-09-03 Michael Matz <matz@suse.de>
|
||||
|
||||
PR middle-end/45415
|
||||
|
@ -28,9 +28,20 @@ if { (![istarget x86_64-*-*] && ![istarget i?86-*-*])
|
||||
}
|
||||
|
||||
|
||||
# If the linker used understands -M <mapfile>, pass it to clear hardware
|
||||
# capabilities set by the Sun assembler.
|
||||
set flags ""
|
||||
set clearcap_ldflags "-Wl,-M,$srcdir/gcc.target/i386/clearcap.map"
|
||||
|
||||
if [check_no_compiler_messages mapfile executable {
|
||||
int main (void) { return 0; }
|
||||
} $clearcap_ldflags ] {
|
||||
set flags $clearcap_ldflags
|
||||
}
|
||||
|
||||
torture-init
|
||||
set-torture-options $C_TORTURE_OPTIONS
|
||||
set additional_flags "-W -Wall -mavx"
|
||||
set additional_flags "-W -Wall -mavx $flags"
|
||||
|
||||
foreach src [lsort [glob -nocomplain $srcdir/$subdir/test_*.c]] {
|
||||
if {[runtest_file_p $runtests $src]} {
|
||||
|
Loading…
x
Reference in New Issue
Block a user