From 126adc89d8a32193df075ce665e76ad95ebd0557 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Tue, 19 Dec 2017 13:51:01 -0800 Subject: Document that --enable-static-pie implies PIE To build static PIE, all .o files are compiled with -fPIE. Since --enable-static-pie is designed to provide additional security hardening benefits, it also implies that glibc programs and tests are created as dynamic position independent executables (PIE) by default for better security hardening. Reviewed-by: Jonathan Nieder * manual/install.texi: Document that --enable-static-pie implies PIE. * INSTALL: Regenerated. --- INSTALL | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'INSTALL') diff --git a/INSTALL b/INSTALL index 9a1404bd3c..42508e69dc 100644 --- a/INSTALL +++ b/INSTALL @@ -93,7 +93,9 @@ will be used, and CFLAGS sets optimization options for the compiler. programs as well as static tests are built as static PIE, except for those marked 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. + above, to create static PIE. This option also implies that glibc + programs and tests are created as dynamic position independent + executables (PIE) by default. '--disable-profile' Don't build libraries with profiling information. You may want to -- cgit v1.2.3