diff options
author | Benda Xu <heroxbd@gentoo.org> | 2017-08-30 18:22:12 +0900 |
---|---|---|
committer | Benda Xu <heroxbd@gentoo.org> | 2017-08-30 18:22:12 +0900 |
commit | d6d4d907547bae4aeac27d4cc49c7143736dde79 (patch) | |
tree | 2580b5322c19a7ba16ca42de2e2e5fd4d16a7045 /sys-libs/glibc/files/2.16/glibc-2.16-hardened-pie.patch | |
parent | eclass/R-packages.eclass: merged to R_Overlay. (diff) | |
download | android-d6d4d907547bae4aeac27d4cc49c7143736dde79.tar.gz android-d6d4d907547bae4aeac27d4cc49c7143736dde79.tar.bz2 android-d6d4d907547bae4aeac27d4cc49c7143736dde79.zip |
python, portage, glibc: merged into gentoo main repo.
Diffstat (limited to 'sys-libs/glibc/files/2.16/glibc-2.16-hardened-pie.patch')
-rw-r--r-- | sys-libs/glibc/files/2.16/glibc-2.16-hardened-pie.patch | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/sys-libs/glibc/files/2.16/glibc-2.16-hardened-pie.patch b/sys-libs/glibc/files/2.16/glibc-2.16-hardened-pie.patch deleted file mode 100644 index a850a61..0000000 --- a/sys-libs/glibc/files/2.16/glibc-2.16-hardened-pie.patch +++ /dev/null @@ -1,39 +0,0 @@ -2012-11-11 Magnus Granberg <zorry@gentoo.org> - - #442712 - * Makeconfig (+link): Set to +link-pie. - (+link-static-before-libc): Change $(static-start-installed-name) to - S$(static-start-installed-name). - (+prector): Set to +prectorS. - (+postctor): Set to +postctorS. - ---- libc/Makeconfig -+++ libc/Makeconfig -@@ -447,11 +447,12 @@ - $(common-objpfx)libc% $(+postinit),$^) \ - $(link-extra-libs) $(link-libc) $(+postctorS) $(+postinit) - endif -++link = $(+link-pie) - # Command for statically linking programs with the C library. - ifndef +link-static - +link-static-before-libc = $(CC) -nostdlib -nostartfiles -static -o $@ \ - $(sysdep-LDFLAGS) $(LDFLAGS) $(LDFLAGS-$(@F)) \ -- $(addprefix $(csu-objpfx),$(static-start-installed-name)) \ -+ $(addprefix $(csu-objpfx),S$(static-start-installed-name)) \ - $(+preinit) $(+prector) \ - $(filter-out $(addprefix $(csu-objpfx),start.o \ - $(start-installed-name))\ -@@ -549,11 +550,10 @@ - ifeq ($(elf),yes) - +preinit = $(addprefix $(csu-objpfx),crti.o) - +postinit = $(addprefix $(csu-objpfx),crtn.o) --+prector = `$(CC) $(sysdep-LDFLAGS) --print-file-name=crtbegin.o` --+postctor = `$(CC) $(sysdep-LDFLAGS) --print-file-name=crtend.o` --# Variants of the two previous definitions for linking PIE programs. - +prectorS = `$(CC) $(sysdep-LDFLAGS) --print-file-name=crtbeginS.o` - +postctorS = `$(CC) $(sysdep-LDFLAGS) --print-file-name=crtendS.o` -++prector = $(+prectorS) -++postctor = $(+postctorS) - +interp = $(addprefix $(elf-objpfx),interp.os) - endif - csu-objpfx = $(common-objpfx)csu/ |