diff options
Diffstat (limited to 'debian/patches/gcc-default-relro.diff')
-rw-r--r-- | debian/patches/gcc-default-relro.diff | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/debian/patches/gcc-default-relro.diff b/debian/patches/gcc-default-relro.diff index 8d1a7c3..da75e92 100644 --- a/debian/patches/gcc-default-relro.diff +++ b/debian/patches/gcc-default-relro.diff @@ -9,7 +9,7 @@ Index: b/src/gcc/doc/invoke.texi =================================================================== --- a/src/gcc/doc/invoke.texi +++ b/src/gcc/doc/invoke.texi -@@ -10025,6 +10025,9 @@ +@@ -10049,6 +10049,9 @@ linker. When using the GNU linker, you can also get the same effect with @option{-Wl,-Map=output.map}. @@ -23,11 +23,11 @@ Index: b/src/gcc/gcc.c =================================================================== --- a/src/gcc/gcc.c +++ b/src/gcc/gcc.c -@@ -706,6 +706,7 @@ - "%{flto|flto=*:%<fcompare-debug*} \ +@@ -741,6 +741,7 @@ + "%{flto|flto=*:%<fcompare-debug*} \ %{flto} %{flto=*} %l " LINK_PIE_SPEC \ "%{fuse-ld=*:-fuse-ld=%*}\ + -z relro\ %X %{o*} %{e*} %{N} %{n} %{r}\ %{s} %{t} %{u*} %{z} %{Z} %{!nostdlib:%{!nostartfiles:%S}}\ - %{static:} %{L*} %(mfwrap) %(link_libgcc) %o\ + %{static:} %{L*} %(mfwrap) %(link_libgcc) " SANITIZER_EARLY_SPEC " %o\ |