about summary refs log tree commit diff
path: root/csu/Makefile
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2024-06-11 20:14:56 -0700
committerH.J. Lu <hjl.tools@gmail.com>2024-06-12 14:27:54 -0700
commit29807a271edca3e47195bda0c69ae45e245551a9 (patch)
tree04fd0521930ce7103f4df00717a8eacba9391ef7 /csu/Makefile
parent8859607eaa068a3aaa7df7f54eff186b25ecdad0 (diff)
downloadglibc-master.tar.gz
glibc-master.tar.xz
glibc-master.zip
x86: Properly set x86 minimum ISA level [BZ #31883] HEAD master
Properly set libc_cv_have_x86_isa_level in shell for MINIMUM_X86_ISA_LEVEL
defined as

(__X86_ISA_V1 + __X86_ISA_V2 + __X86_ISA_V3 + __X86_ISA_V4)

Also set __X86_ISA_V2 to 1 for i386 if __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
is defined.  There are no changes in config.h nor in config.make on x86-64.
On i386, -march=x86-64-v2 with GCC generates

 #define MINIMUM_X86_ISA_LEVEL 2

in config.h and

have-x86-isa-level = 2

in config.make.  This fixes BZ #31883.

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Reviewed-by: Noah Goldstein <goldstein.w.n@gmail.com>
Diffstat (limited to 'csu/Makefile')
0 files changed, 0 insertions, 0 deletions