summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2018-01-20 15:10:51 -0800
committerH.J. Lu <hjl.tools@gmail.com>2018-01-20 15:10:51 -0800
commitb6c0e7d432dbfa579713cf0933ddc0719c6e19d0 (patch)
tree9983dd9c0f124b42e17b88a8c283342e83fb1b2a
parente94a427759c6fc335d5574ed00ac1a370bad58ac (diff)
downloadglibc-hjl/pie/static.tar.gz
Document binutils requirement for static PIEhjl/pie/static
To enable static PIE, binutils 2.29 or later is required on i386, x86_64 and x32, binutils 2.30 or later is required on aarch64. * manual/install.texi: Document binutils requirement for static PIE. * INSTALL: Regenerated.
-rw-r--r--INSTALL4
-rw-r--r--manual/install.texi3
2 files changed, 6 insertions, 1 deletions
diff --git a/INSTALL b/INSTALL
index 42508e69dc..f731776a0c 100644
--- a/INSTALL
+++ b/INSTALL
@@ -95,7 +95,9 @@ will be used, and CFLAGS sets optimization options for the compiler.
the GCC option, -static-pie, which is available with GCC 8 or
above, to create static PIE. This option also implies that glibc
programs and tests are created as dynamic position independent
- executables (PIE) by default.
+ executables (PIE) by default. To enable static PIE, GNU 'binutils'
+ 2.29 or later is required on i386, x86_64 and x32, GNU 'binutils'
+ 2.30 or later is required on aarch64.
'--disable-profile'
Don't build libraries with profiling information. You may want to
diff --git a/manual/install.texi b/manual/install.texi
index 50e6c35050..1100306e3c 100644
--- a/manual/install.texi
+++ b/manual/install.texi
@@ -125,6 +125,9 @@ with no-pie. The resulting glibc can be used with the GCC option,
-static-pie, which is available with GCC 8 or above, to create static
PIE. This option also implies that glibc programs and tests are created
as dynamic position independent executables (PIE) by default.
+To enable static PIE, GNU @code{binutils} 2.29 or later is required on
+i386, x86_64 and x32, GNU @code{binutils} 2.30 or later is required on
+aarch64.
@item --disable-profile
Don't build libraries with profiling information. You may want to use