[glibc/siddhesh/default-pie] disable pie for alpha too

Siddhesh Poyarekar siddhesh@sourceware.org
Tue Dec 7 16:56:59 GMT 2021


https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=becfc55bd3a19a5d9c042e133bb75f171d788845

commit becfc55bd3a19a5d9c042e133bb75f171d788845
Author: Siddhesh Poyarekar <siddhesh@sourceware.org>
Date:   Tue Dec 7 22:26:29 2021 +0530

    disable pie for alpha too

Diff:
---
 sysdeps/alpha/configure    | 4 ++++
 sysdeps/alpha/configure.ac | 3 +++
 2 files changed, 7 insertions(+)

diff --git a/sysdeps/alpha/configure b/sysdeps/alpha/configure
index 464b596527..3ab3de07ca 100644
--- a/sysdeps/alpha/configure
+++ b/sysdeps/alpha/configure
@@ -5,4 +5,8 @@
 # symbols in a position independent way.
 $as_echo "#define PI_STATIC_AND_HIDDEN 1" >>confdefs.h
 
+
+# PIE builds don't work.
+$as_echo "#define PIE_UNSUPPORTED 1" >>confdefs.h
+
 # work around problem with autoconf and empty lines at the end of files
diff --git a/sysdeps/alpha/configure.ac b/sysdeps/alpha/configure.ac
index 38e52e71ac..30f37d8740 100644
--- a/sysdeps/alpha/configure.ac
+++ b/sysdeps/alpha/configure.ac
@@ -4,4 +4,7 @@ GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
 # With required gcc+binutils, we can always access static and hidden
 # symbols in a position independent way.
 AC_DEFINE(PI_STATIC_AND_HIDDEN)
+
+# PIE builds don't work.
+AC_DEFINE(PIE_UNSUPPORTED)
 # work around problem with autoconf and empty lines at the end of files


More information about the Glibc-cvs mailing list