From d6ab64818b9d212691c200c292dc0f18d193598c Mon Sep 17 00:00:00 2001 From: Max Filippov Date: Mon, 5 Mar 2018 21:49:35 -0800 Subject: [PATCH] xtensa: ld: support -z relro ld/ 2018-03-07 Max Filippov * emulparams/elf32xtensa.sh (COMMONPAGESIZE): Define. --- ld/ChangeLog | 4 ++++ ld/emulparams/elf32xtensa.sh | 1 + 2 files changed, 5 insertions(+) diff --git a/ld/ChangeLog b/ld/ChangeLog index dd441fa20a2..a65b824637d 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2018-03-07 Max Filippov + + * emulparams/elf32xtensa.sh (COMMONPAGESIZE): Define. + 2018-03-07 Renlin Li PR ld/20402 diff --git a/ld/emulparams/elf32xtensa.sh b/ld/emulparams/elf32xtensa.sh index 72ba2bb7806..d9ccd839210 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 -- 2.30.2