mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-11-25 13:18:36 +08:00
9ce91011bf
* clearcap.map: New file. * acinclude.m4 (LIBITM_CHECK_LINKER_HWCAP): New test. * configure.ac: Call it. Clear HWCAP_LDFLAGS if defaulting to -mavx. * Makefile.am (AM_LDFLAGS): Add $(HWCAP_LDFLAGS) * configure: Regenerate. * Makefile.in: Regenerate. * testsuite/Makefile.in: Regenerate. From-SVN: r183430
15 lines
365 B
Plaintext
15 lines
365 B
Plaintext
# Clear hardware capabilities emitted by Sun as: calls to the x86_avx.c
|
|
# functions are only emitted with -mavx.
|
|
#
|
|
# The v1 mapfile syntax has no support for clearing specific capabilities,
|
|
# so clear everything.
|
|
#
|
|
hwcap_1 = V0x0 OVERRIDE;
|
|
#
|
|
# If we can assume mapfile v2 syntax, we can specificially clear AVX.
|
|
#
|
|
#$mapfile_version 2
|
|
#CAPABILITY {
|
|
# HW -= AVX;
|
|
#};
|