aboutsummaryrefslogtreecommitdiff
path: root/ld/emulparams
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@acm.org>2006-10-10 20:57:37 +0000
committerBob Wilson <bob.wilson@acm.org>2006-10-10 20:57:37 +0000
commitba05963f0d3fa4bd091114878205d5cf0fc983df (patch)
tree101e01aadd17f1cfe5132d1a1c11dc745c98e0c8 /ld/emulparams
parent7f9087cb309742ac14491026d7ed140cdc718f2e (diff)
downloadgdb-ba05963f0d3fa4bd091114878205d5cf0fc983df.zip
gdb-ba05963f0d3fa4bd091114878205d5cf0fc983df.tar.gz
gdb-ba05963f0d3fa4bd091114878205d5cf0fc983df.tar.bz2
bfd/
* elf32-xtensa.c (elf_xtensa_size_dynamic_sections): Add DT_DEBUG for PIE executables. ld/ * emulparams/elf32xtensa.sh (GENERATE_PIE_SCRIPT): Enable.
Diffstat (limited to 'ld/emulparams')
-rw-r--r--ld/emulparams/elf32xtensa.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/emulparams/elf32xtensa.sh b/ld/emulparams/elf32xtensa.sh
index 01eed3a..8cc8f0d 100644
--- a/ld/emulparams/elf32xtensa.sh
+++ b/ld/emulparams/elf32xtensa.sh
@@ -10,6 +10,7 @@ MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
ARCH=xtensa
MACHINE=
GENERATE_SHLIB_SCRIPT=yes
+GENERATE_PIE_SCRIPT=yes
GENERATE_COMBRELOC_SCRIPT=yes
NO_SMALL_DATA=yes
PLT="/* .plt* sections are embedded in .text */"