From 64859e1487e0ce1e5c430238dd731123371e7a15 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Mon, 2 Jan 2017 22:43:15 +1030 Subject: [PATCH] Support -z relro on metag * emulparams/elf32metag.sh (COMMONPAGESIZE): Define. --- ld/ChangeLog | 4 ++++ ld/emulparams/elf32metag.sh | 1 + 2 files changed, 5 insertions(+) diff --git a/ld/ChangeLog b/ld/ChangeLog index 90a6d33b89b..1fb60ed3283 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2017-01-02 Alan Modra + + * emulparams/elf32metag.sh (COMMONPAGESIZE): Define. + 2017-01-02 Alan Modra PR ld/21000 diff --git a/ld/emulparams/elf32metag.sh b/ld/emulparams/elf32metag.sh index 861daba188c..2a1d072da3c 100644 --- a/ld/emulparams/elf32metag.sh +++ b/ld/emulparams/elf32metag.sh @@ -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 -- 2.30.2