mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-18 22:50:07 +00:00
c02b26455b
This makes the prefer_map_32bit_exec tunable no longer Linux-specific. Signed-off-by: Sergey Bugaev <bugaevc@gmail.com> Message-Id: <20230423215526.346009-4-bugaevc@gmail.com>
23 lines
582 B
Makefile
23 lines
582 B
Makefile
ifeq ($(subdir),elf)
|
|
|
|
tests-map-32bit = \
|
|
tst-map-32bit-1a \
|
|
tst-map-32bit-1b \
|
|
# tests-map-32bit
|
|
tst-map-32bit-1a-no-pie = yes
|
|
tst-map-32bit-1b-no-pie = yes
|
|
tests += $(tests-map-32bit)
|
|
|
|
modules-map-32bit = \
|
|
tst-map-32bit-mod \
|
|
# modules-map-32bit
|
|
modules-names += $(modules-map-32bit)
|
|
|
|
$(objpfx)tst-map-32bit-mod.so: $(libsupport)
|
|
tst-map-32bit-1a-ENV = LD_PREFER_MAP_32BIT_EXEC=1
|
|
$(objpfx)tst-map-32bit-1a: $(objpfx)tst-map-32bit-mod.so
|
|
tst-map-32bit-1b-ENV = GLIBC_TUNABLES=glibc.cpu.prefer_map_32bit_exec=1
|
|
$(objpfx)tst-map-32bit-1b: $(objpfx)tst-map-32bit-mod.so
|
|
|
|
endif
|