[PATCH] Support -pie for arm*-eabi targets.
Roland McGrath
mcgrathr@google.com
Sat Aug 6 12:44:00 GMT 2016
Similar omission as aarch64-elf, same trivial fix.
OK for trunk and 2.27 branch?
Thanks,
Roland
ld/
2016-08-06 Roland McGrath <roland@hack.frob.com>
* emulparams/armelf.sh (GENERATE_PIE_SCRIPT): Set to yes.
diff --git a/ld/emulparams/armelf.sh b/ld/emulparams/armelf.sh
index 672b208..f581c68 100644
--- a/ld/emulparams/armelf.sh
+++ b/ld/emulparams/armelf.sh
@@ -21,6 +21,7 @@ OTHER_READONLY_SECTIONS="
DATA_START_SYMBOLS='__data_start = . ;';
GENERATE_SHLIB_SCRIPT=yes
+GENERATE_PIE_SCRIPT=yes
ARCH=arm
MACHINE=
More information about the Binutils
mailing list