glibc/sysdeps/unix/sysv/linux/x86_64/x86-64-isa-level-VALUE.c
H.J. Lu efbbd9c33a ldconfig/x86: Store ISA level in cache and aux cache
Store ISA level in the portion of the unused upper 32 bits of the hwcaps
field in cache and the unused pad field in aux cache.  ISA level is stored
and checked only for shared objects in glibc-hwcaps subdirectories.  The
shared objects in the default directories aren't checked since there are
no fallbacks for these shared objects.

Tested on x86-64-v2, x86-64-v3 and x86-64-v4 machines with
--disable-hardcoded-path-in-tests and --enable-hardcoded-path-in-tests.
2021-01-13 05:51:17 -08:00

5 lines
117 B
C

#define INCLUDE_X86_ISA_LEVEL
#define MARKER dso_isa_level
#include <isa-level.c>
#include <markermodMARKER-VALUE.c>