diff options
author | Simon Atanasyan <simon@atanasyan.com> | 2017-01-16 21:17:23 +0000 |
---|---|---|
committer | Simon Atanasyan <simon@atanasyan.com> | 2017-01-16 21:17:23 +0000 |
commit | 2bd98af563ab33c24192c300d4c97e3a96f94a6c (patch) | |
tree | 785c5b5a24f4ca93f3461aa870a0da86b7614389 /llvm/lib/Target | |
parent | 97a42ea896892db2a612ed97afc53170a86529ef (diff) | |
download | bcm5719-llvm-2bd98af563ab33c24192c300d4c97e3a96f94a6c.tar.gz bcm5719-llvm-2bd98af563ab33c24192c300d4c97e3a96f94a6c.zip |
[ELF][MIPS] Exclude mips .got from PT_GNU_RELRO segment
On MIPS .got section cannot be included into the PT_GNU_RELRO segment.
Sometimes it might work, but in general it is unsupported. One of the
problem is that all sections marked by SHF_MIPS_GPREL should be grouped
together because data in these sections is addressable with a gp
relative address, but such sections might be writable.
This patch exclude mips .got from PT_GNU_RELRO segment and group
SHF_MIPS_GPREL sections.
llvm-svn: 292161
Diffstat (limited to 'llvm/lib/Target')
0 files changed, 0 insertions, 0 deletions