diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2022-02-07 14:11:42 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2022-02-14 07:34:54 -0800 |
commit | f9db5433f3b945299d60c4a3f6a1f0b025fc335c (patch) | |
tree | 656dab6d1b3b47968896456f1d9229a4e1ce8efb /sysdeps/i386 | |
parent | 2e20cd63c96555d650c525ad5633475e8f11bed4 (diff) | |
download | glibc-f9db5433f3b945299d60c4a3f6a1f0b025fc335c.tar.gz glibc-f9db5433f3b945299d60c4a3f6a1f0b025fc335c.tar.xz glibc-f9db5433f3b945299d60c4a3f6a1f0b025fc335c.zip |
x86/configure.ac: Define PI_STATIC_AND_HIDDEN/SUPPORT_STATIC_PIE
Move PI_STATIC_AND_HIDDEN and SUPPORT_STATIC_PIE to sysdeps/x86/configure.ac.
Diffstat (limited to 'sysdeps/i386')
-rw-r--r-- | sysdeps/i386/configure | 6 | ||||
-rw-r--r-- | sysdeps/i386/configure.ac | 7 |
2 files changed, 0 insertions, 13 deletions
diff --git a/sysdeps/i386/configure b/sysdeps/i386/configure index ed46d53314..af50c5bfab 100644 --- a/sysdeps/i386/configure +++ b/sysdeps/i386/configure @@ -83,13 +83,7 @@ $as_echo "$libc_cv_ld_static_pie" >&6; } fi fi -$as_echo "#define PI_STATIC_AND_HIDDEN 1" >>confdefs.h - - if test x"$multi_arch" != xno; then $as_echo "#define NO_HIDDEN_EXTERN_FUNC_IN_PIE 1" >>confdefs.h fi - -$as_echo "#define SUPPORT_STATIC_PIE 1" >>confdefs.h - diff --git a/sysdeps/i386/configure.ac b/sysdeps/i386/configure.ac index a6a0672835..234ef2454a 100644 --- a/sysdeps/i386/configure.ac +++ b/sysdeps/i386/configure.ac @@ -53,15 +53,8 @@ rm -f conftest*]) fi fi -dnl It is always possible to access static and hidden symbols in an -dnl position independent way. -AC_DEFINE(PI_STATIC_AND_HIDDEN) - dnl When multi-arch is enabled, all external functions must be called dnl via PIC PLT in PIE, which requires setting up EBX register. if test x"$multi_arch" != xno; then AC_DEFINE(NO_HIDDEN_EXTERN_FUNC_IN_PIE) fi - -dnl Static PIE is supported. -AC_DEFINE(SUPPORT_STATIC_PIE) |