Support -z relro on metag
authorAlan Modra <amodra@gmail.com>
Mon, 2 Jan 2017 12:13:15 +0000 (22:43 +1030)
committerAlan Modra <amodra@gmail.com>
Mon, 2 Jan 2017 12:14:29 +0000 (22:44 +1030)
* emulparams/elf32metag.sh (COMMONPAGESIZE): Define.

ld/ChangeLog
ld/emulparams/elf32metag.sh

index 90a6d33b89b802c01ff0d3214ed0f7e7acd7a64f..1fb60ed3283821c819198c6e0ad09174bbbd675b 100644 (file)
@@ -1,3 +1,7 @@
+2017-01-02  Alan Modra  <amodra@gmail.com>
+
+       * emulparams/elf32metag.sh (COMMONPAGESIZE): Define.
+
 2017-01-02  Alan Modra  <amodra@gmail.com>
 
        PR ld/21000
index 861daba188c47c8123a45ce87a056d536d639c38..2a1d072da3cbe4b0a947c71fddd017fd50306379 100644 (file)
@@ -7,6 +7,7 @@ OUTPUT_FORMAT="elf32-metag"
 TEXT_START_ADDR=0x10005000
 ARCH=metag
 MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
+COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
 ENTRY=__start
 NOP=0xa0fffffe
 EXTRA_EM_FILE=metagelf