From 7cfee229f1eb6e3ee98b63918a5189a330284751 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 9 Aug 2016 12:09:17 -0700 Subject: [PATCH] Support -pie for arm*-eabi targets. ld/ * emulparams/armelf.sh (GENERATE_PIE_SCRIPT): Set to yes. --- ld/ChangeLog | 4 ++++ ld/emulparams/armelf.sh | 1 + 2 files changed, 5 insertions(+) diff --git a/ld/ChangeLog b/ld/ChangeLog index c327906..e3ca953 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2016-08-09 Roland McGrath + + * emulparams/armelf.sh (GENERATE_PIE_SCRIPT): Set to yes. + 2016-08-04 Thomas Preud'homme * emultempl/armelf.em (cmse_implib): Declare and define this new 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= -- 2.7.4