SOURCES (rpm-4_4_9): rpm-macros.patch - tell linker to emit PT_GNU...

pluto pluto at pld-linux.org
Wed Apr 2 22:28:15 CEST 2008


Author: pluto                        Date: Wed Apr  2 20:28:15 2008 GMT
Module: SOURCES                       Tag: rpm-4_4_9
---- Log message:
- tell linker to emit PT_GNU_RELRO and optimize relocs.

---- Files affected:
SOURCES:
   rpm-macros.patch (1.41.2.1 -> 1.41.2.2) 

---- Diffs:

================================================================
Index: SOURCES/rpm-macros.patch
diff -u SOURCES/rpm-macros.patch:1.41.2.1 SOURCES/rpm-macros.patch:1.41.2.2
--- SOURCES/rpm-macros.patch:1.41.2.1	Fri Jan 25 01:20:52 2008
+++ SOURCES/rpm-macros.patch	Wed Apr  2 22:28:09 2008
@@ -110,7 +110,7 @@
 +# -feliminate-dwarf2-dups disabled until PR ld/3290 is fixed.
 +
 +%debugcflags	-O0 -g -Wall
-+%optldflags	-Wl,--as-needed
++%optldflags	-Wl,--as-needed -Wl,-z,relro -Wl,-z,-combreloc
 +
 +# Warning: those macros are overwritten by macros.build,
 +#          left here for compatibility
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/rpm-macros.patch?r1=1.41.2.1&r2=1.41.2.2&f=u



More information about the pld-cvs-commit mailing list