diff options
author | Alan Modra <amodra@gmail.com> | 2017-01-02 22:43:15 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2017-01-02 22:44:29 +1030 |
commit | 64859e1487e0ce1e5c430238dd731123371e7a15 (patch) | |
tree | 88baee5f8027c58024dd442985a39ba3d7289f7c | |
parent | f5657270bd9353db74ba802ebed62b7133f7c2a0 (diff) | |
download | gdb-64859e1487e0ce1e5c430238dd731123371e7a15.zip gdb-64859e1487e0ce1e5c430238dd731123371e7a15.tar.gz gdb-64859e1487e0ce1e5c430238dd731123371e7a15.tar.bz2 |
Support -z relro on metag
* emulparams/elf32metag.sh (COMMONPAGESIZE): Define.
-rw-r--r-- | ld/ChangeLog | 4 | ||||
-rw-r--r-- | ld/emulparams/elf32metag.sh | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 90a6d33..1fb60ed 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,5 +1,9 @@ 2017-01-02 Alan Modra <amodra@gmail.com> + * emulparams/elf32metag.sh (COMMONPAGESIZE): Define. + +2017-01-02 Alan Modra <amodra@gmail.com> + PR ld/21000 * emulparams/hppalinux.sh (DATA_ADDR, SHLIB_DATA_ADDR): Don't define. (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END, DATA_SEGMENT_RELRO_END): Define. diff --git a/ld/emulparams/elf32metag.sh b/ld/emulparams/elf32metag.sh index 861daba..2a1d072 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 |