Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 209522 Details for
Bug 292139
sys-libs/glibc-2.11 Fail to apply glibc-2.5-hardened-pie.patch
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
glibc-2.5-hardened-pie.patch
glibc-2.5-hardened-pie.patch (text/plain), 1.61 KB, created by
Togge
on 2009-11-07 10:50:00 UTC
(
hide
)
Description:
glibc-2.5-hardened-pie.patch
Filename:
MIME Type:
Creator:
Togge
Created:
2009-11-07 10:50:00 UTC
Size:
1.61 KB
patch
obsolete
>Change link commands for glibc executables to build PIEs > >Patch by Kevin F. Quinn <kevquinn@gentoo.org> > >--- Makeconfig >+++ Makeconfig >@@ -423,10 +423,10 @@ > > # Command for linking programs with the C library. > ifndef +link >-+link = $(CC) -nostdlib -nostartfiles -o $@ \ >++link = $(CC) -nostdlib -nostartfiles -fPIE -pie -o $@ \ > $(sysdep-LDFLAGS) $(config-LDFLAGS) $(LDFLAGS) $(LDFLAGS-$(@F)) \ > $(combreloc-LDFLAGS) $(relro-LDFLAGS) $(hashstyle-LDFLAGS) \ >- $(addprefix $(csu-objpfx),$(start-installed-name)) \ >+ $(addprefix $(csu-objpfx),S$(start-installed-name)) \ > $(+preinit) $(+prector) \ > $(filter-out $(addprefix $(csu-objpfx),start.o \ > $(start-installed-name))\ >@@ -451,7 +451,7 @@ > ifndef +link-static > +link-static = $(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,8 +549,8 @@ > ifeq ($(elf),yes) > +preinit = $(addprefix $(csu-objpfx),crti.o) > +postinit = $(addprefix $(csu-objpfx),crtn.o) >-+prector = `$(CC) --print-file-name=crtbegin.o` >-+postctor = `$(CC) --print-file-name=crtend.o` >++prector = `$(CC) --print-file-name=crtbeginS.o` >++postctor = `$(CC) --print-file-name=crtendS.o` > # Variants of the two previous definitions for linking PIE programs. > +prectorS = `$(CC) --print-file-name=crtbeginS.o` > +postctorS = `$(CC) --print-file-name=crtendS.o`
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 292139
:
209522
|
209550
|
209558
|
209630