xtensa: ld: support -z relro
authorMax Filippov <jcmvbkbc@gmail.com>
Tue, 6 Mar 2018 05:49:35 +0000 (21:49 -0800)
committerMax Filippov <jcmvbkbc@gmail.com>
Wed, 7 Mar 2018 21:05:12 +0000 (13:05 -0800)
ld/
2018-03-07  Max Filippov  <jcmvbkbc@gmail.com>

* emulparams/elf32xtensa.sh (COMMONPAGESIZE): Define.

ld/ChangeLog
ld/emulparams/elf32xtensa.sh

index dd441fa20a2cc98665ec5619ae459d21399cd0cb..a65b824637dd0ef7ba9d840a50fdbf2d376c49dc 100644 (file)
@@ -1,3 +1,7 @@
+2018-03-07  Max Filippov  <jcmvbkbc@gmail.com>
+
+       * emulparams/elf32xtensa.sh (COMMONPAGESIZE): Define.
+
 2018-03-07  Renlin Li  <renlin.li@arm.com>
 
        PR ld/20402
index 72ba2bb78064f953e7e7af64a20e2fb28cbf9ee3..d9ccd839210216bf7f2d9ab4769860d28905279c 100644 (file)
@@ -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