aboutsummaryrefslogtreecommitdiff
path: root/ld/emulparams
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2018-03-05 21:49:35 -0800
committerMax Filippov <jcmvbkbc@gmail.com>2018-03-07 13:05:12 -0800
commitd6ab64818b9d212691c200c292dc0f18d193598c (patch)
tree0435b6c168f5f77d74de3a7f69a25b2ac1d62520 /ld/emulparams
parent779bdadbea9a62e5a2203651703e15edd321b9d6 (diff)
downloadgdb-d6ab64818b9d212691c200c292dc0f18d193598c.zip
gdb-d6ab64818b9d212691c200c292dc0f18d193598c.tar.gz
gdb-d6ab64818b9d212691c200c292dc0f18d193598c.tar.bz2
xtensa: ld: support -z relro
ld/ 2018-03-07 Max Filippov <jcmvbkbc@gmail.com> * emulparams/elf32xtensa.sh (COMMONPAGESIZE): Define.
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 72ba2bb..d9ccd83 100644
--- a/ld/emulparams/elf32xtensa.sh
+++ b/ld/emulparams/elf32xtensa.sh
@@ -7,6 +7,7 @@ LITTLE_OUTPUT_FORMAT="elf32-xtensa-le"
NO_REL_RELOCS=yes
TEXT_START_ADDR=0x400000
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
+COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
ARCH=xtensa
MACHINE=
GENERATE_SHLIB_SCRIPT=yes