Support -z relro on metag

* emulparams/elf32metag.sh (COMMONPAGESIZE): Define.
This commit is contained in:
Alan Modra 2017-01-02 22:43:15 +10:30
parent f5657270bd
commit 64859e1487
2 changed files with 5 additions and 0 deletions

View 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

View 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