aboutsummaryrefslogtreecommitdiff
path: root/ld/emulparams
diff options
context:
space:
mode:
authorRoland McGrath <mcgrathr@chromium.org>2016-07-19 10:19:06 -0700
committerRoland McGrath <mcgrathr@chromium.org>2016-07-19 10:19:06 -0700
commit3af09e8db3084f5e03b7f09768a2ab6415418e63 (patch)
tree666c0e2acc0bbd2a7069d7fb578f58d7f0e0d0ac /ld/emulparams
parent1f960ced9a3e4aa0823dcc234d9de49aebaee055 (diff)
downloadgdb-3af09e8db3084f5e03b7f09768a2ab6415418e63.zip
gdb-3af09e8db3084f5e03b7f09768a2ab6415418e63.tar.gz
gdb-3af09e8db3084f5e03b7f09768a2ab6415418e63.tar.bz2
Support -pie for aarch64*-elf targets.
ld/ * emulparams/aarch64elf.sh (GENERATE_PIE_SCRIPT): Set to yes. * emulparams/aarch64elf32.sh: Likewise.
Diffstat (limited to 'ld/emulparams')
-rw-r--r--ld/emulparams/aarch64elf.sh2
-rw-r--r--ld/emulparams/aarch64elf32.sh2
2 files changed, 4 insertions, 0 deletions
diff --git a/ld/emulparams/aarch64elf.sh b/ld/emulparams/aarch64elf.sh
index 6864d65..6eb2bad 100644
--- a/ld/emulparams/aarch64elf.sh
+++ b/ld/emulparams/aarch64elf.sh
@@ -13,6 +13,8 @@ TEMPLATE_NAME=elf32
EXTRA_EM_FILE=aarch64elf
GENERATE_SHLIB_SCRIPT=yes
+GENERATE_PIE_SCRIPT=yes
+
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
ENTRY=_start
diff --git a/ld/emulparams/aarch64elf32.sh b/ld/emulparams/aarch64elf32.sh
index f85c9ff..c0d6b72 100644
--- a/ld/emulparams/aarch64elf32.sh
+++ b/ld/emulparams/aarch64elf32.sh
@@ -13,6 +13,8 @@ TEMPLATE_NAME=elf32
EXTRA_EM_FILE=aarch64elf
GENERATE_SHLIB_SCRIPT=yes
+GENERATE_PIE_SCRIPT=yes
+
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
ENTRY=_start