From ea5814467a02c9d2d7608b6445c5d60e2a81d3ee Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 10 Dec 2021 13:00:09 -0800 Subject: x86-64: Remove LD_PREFER_MAP_32BIT_EXEC support [BZ #28656] Remove the LD_PREFER_MAP_32BIT_EXEC environment variable support since the first PT_LOAD segment is no longer executable due to defaulting to -z separate-code. This fixes [BZ #28656]. Reviewed-by: Florian Weimer --- sysdeps/x86/cpu-tunables.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'sysdeps/x86/cpu-tunables.c') diff --git a/sysdeps/x86/cpu-tunables.c b/sysdeps/x86/cpu-tunables.c index 61b05e5b1d..957db3ad22 100644 --- a/sysdeps/x86/cpu-tunables.c +++ b/sysdeps/x86/cpu-tunables.c @@ -258,13 +258,6 @@ TUNABLE_CALLBACK (set_hwcaps) (tunable_val_t *valp) 20); } break; - case 21: - { - CHECK_GLIBC_IFUNC_PREFERRED_BOTH (n, cpu_features, - Prefer_MAP_32BIT_EXEC, - disable, 21); - } - break; case 23: { CHECK_GLIBC_IFUNC_PREFERRED_NEED_BOTH -- cgit 1.4.1