mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-27 11:43:34 +08:00
efbbd9c33a
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.
9 lines
409 B
Plaintext
9 lines
409 B
Plaintext
# test-container does not support scripts in sysdeps directories, so
|
|
# collect everything in one file.
|
|
|
|
mkdirp 0770 $L/glibc-hwcaps/x86-64-v2
|
|
mkdirp 0770 $L/glibc-hwcaps/x86-64-v3
|
|
cp $B/elf/libx86-64-isa-level-1.so $L/libx86-64-isa-level.so
|
|
cp $B/elf/libx86-64-isa-level-3.so $L/glibc-hwcaps/x86-64-v2/libx86-64-isa-level.so
|
|
cp $B/elf/libx86-64-isa-level-4.so $L/glibc-hwcaps/x86-64-v3/libx86-64-isa-level.so
|