Support -z relro on hppa
authorAlan Modra <amodra@gmail.com>
Mon, 2 Jan 2017 12:03:47 +0000 (22:33 +1030)
committerAlan Modra <amodra@gmail.com>
Mon, 2 Jan 2017 12:12:45 +0000 (22:42 +1030)
commitf5657270bd9353db74ba802ebed62b7133f7c2a0
treecbd9dc4ebf8ca3d01a00e0a23e9107c5f7933430
parent595e0a47f57b414843261303b8aa5036fd1fa1e3
Support -z relro on hppa

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.
* scripttempl/elf.sc: Don't define the above if DATA_SEGMENT_ALIGN
is already defined.
ld/ChangeLog
ld/emulparams/hppalinux.sh
ld/scripttempl/elf.sc