Enable relro by default for AArch64, ARM and SCORE. submit/tizen_base/20181026.090949
authorNick Clifton <nickc@redhat.com>
Fri, 19 Aug 2016 08:27:52 +0000 (09:27 +0100)
committerAndrey Drobyshev <a.drobyshev@partner.samsung.com>
Tue, 23 Oct 2018 13:58:05 +0000 (16:58 +0300)
commit12f75b84506d7820209fc3a919eac9d7991efd74
tree8b6087f1c48a97e688859842e9a54003966f38f1
parenta6eb3329ea30667394508b8f6703aea98d87c67b
Enable relro by default for AArch64, ARM and SCORE.

ld * emultempl/aarch64elf.em (before_parse): Initialise the relro
field in the link_info structure.
* emultempl/armelf.em (before_parse): Likewise.
* emultempl/linux.em (before_parse): Likewise.
* emultempl/scoreelf.em (before_parse): Likewise.

Backported from upstream 576438f.

Signed-off-by: Andrey Drobyshev <a.drobyshev@partner.samsung.com>
Change-Id: I37738901650b0d254316bbbd8938beebd12418d1
ld/ChangeLog
ld/emultempl/aarch64elf.em
ld/emultempl/armelf.em
ld/emultempl/linux.em
ld/emultempl/scoreelf.em