opnsense-src/lib/libc/csu/amd64/Makefile.inc
Konstantin Belousov 0303938539 x86: microoptimize static PIE startup
Do not call CPUID on each ireloc, instead call it once and cache
results, similar to how it is done on powerpc64.

Reviewed by:	markj
Sponsored by:	The FreeBSD Foundation
MFC after:	3 weeks
Differential revision:	https://reviews.freebsd.org/D37220
2023-03-12 00:50:04 +02:00

4 lines
71 B
Makefile

#
CFLAGS+= -DCRT_IRELOC_RELA \
-DINIT_IRELOCS="init_cpu_features()"