diff options
Diffstat (limited to 'dev-libs/uclibc/files/0.9.26/uClibc-0.9.26-pie-option.patch')
-rw-r--r-- | dev-libs/uclibc/files/0.9.26/uClibc-0.9.26-pie-option.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/dev-libs/uclibc/files/0.9.26/uClibc-0.9.26-pie-option.patch b/dev-libs/uclibc/files/0.9.26/uClibc-0.9.26-pie-option.patch new file mode 100644 index 000000000000..41beaea78abc --- /dev/null +++ b/dev-libs/uclibc/files/0.9.26/uClibc-0.9.26-pie-option.patch @@ -0,0 +1,18 @@ +--- extra/Configs/Config.in.mps 2004-01-05 11:07:27.000000000 +0100 ++++ extra/Configs/Config.in 2004-01-05 11:10:58.000000000 +0100 +@@ -180,13 +180,14 @@ + config UCLIBC_PIE_SUPPORT + bool "Support ET_DYN in shared library loader" + select FORCE_SHAREABLE_TEXT_SEGMENTS ++ select UCLIBC_COMPLETELY_PIC + default n + help + If you answer Y here, the uClibc native shared library loader will + support ET_DYN/PIE executables. + It requires binutils-2.14.90.0.6 or later and the usage of the + -pie option. +- More about ET_DYN/PIE binaries on <http://pageexec.virtualave.net/> . ++ More about ET_DYN/PIE binaries on <http://pax.grsecurity.net/> . + WARNING: This option also enables FORCE_SHAREABLE_TEXT_SEGMENTS, so all + libraries have to be built with -fPIC or -fpic, and all assembler + functions must be written as position independent code (PIC). |