binutils/binutils-2.22.52.0.1-relro-on-by-default.patch
Nick Clifton c1bb236faf Rebase on FSF binutils 2.27 release.
- Retire: binutils-2.26-formatting.patch
- Retire: binutils-2.26-Bsymbolic_PIE.patch
- Retire: binutils-rh1312151.patch
- Retire: binutils-2.26-fix-GOT-offset-calculation.patch
- Retire: binutils-2.26-common-definitions.patch
- Retire: binutils-2.26-x86-PIE-relocations.patch
2016-08-03 17:43:40 +01:00

14 lines
462 B
Diff

--- binutils-2.27.orig/ld/configure.tgt 2016-07-07 11:16:49.967963649 +0100
+++ binutils-2.27/ld/configure.tgt 2016-07-07 11:17:02.252045673 +0100
@@ -901,8 +901,8 @@ frv-*-* | hppa*-*-* | ia64-*-* | mips*-*
# FAIL: objcopy -shared -z relro (tbss2)
# FAIL: objcopy -shared -z relro (tbss3)
;;
-*-*-linux*)
- if test ${ac_default_ld_z_relro} = unset; then
+*)
+ if test x${ac_default_ld_z_relro} = xunset; then
ac_default_ld_z_relro=1
fi
;;