aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorAndreas Krebbel <krebbel@linux.vnet.ibm.com>2018-06-11 13:23:00 +0200
committerAndreas Krebbel <krebbel@linux.ibm.com>2018-07-18 13:20:06 +0200
commita38137289e91fd548fc27fb6566a439233b94d65 (patch)
tree6cfffbd27fb55feb22dc50b2c935cc047d0687a0 /bfd
parent0984c34e7683e1e987eaf4f9e057b678cb67efa6 (diff)
downloadbinutils-a38137289e91fd548fc27fb6566a439233b94d65.zip
binutils-a38137289e91fd548fc27fb6566a439233b94d65.tar.gz
binutils-a38137289e91fd548fc27fb6566a439233b94d65.tar.bz2
ld: Enable using separate linker script for -z relro
With this patch dedicated linker scripts can be generated for partial relro triggered by defining GENERATE_RELRO_SCRIPT in the target specific scripts. This is necessary for e.g. S/390 where usually the .got.plt comes first and prevents the relro segment from being extended across the non-plt GOT entries. The patch started with the work from Marcin taken from the mwk user branches. However, the patch needed substantial changes due to the 'separate code' feature which got committed in the meantime. ld/ChangeLog: 2018-07-18 Andreas Krebbel <krebbel@linux.ibm.com> Marcin Koƛcielnicki <koriakin@0x04.net> * emultempl/elf32.em: Add code to pick dedicated linker scripts for partial relro. * genscripts.sh: Generate dedicated linker scripts for partial relro.
Diffstat (limited to 'bfd')
0 files changed, 0 insertions, 0 deletions