summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorSimon Atanasyan <simon@atanasyan.com>2017-01-16 21:17:23 +0000
committerSimon Atanasyan <simon@atanasyan.com>2017-01-16 21:17:23 +0000
commit2bd98af563ab33c24192c300d4c97e3a96f94a6c (patch)
tree785c5b5a24f4ca93f3461aa870a0da86b7614389 /llvm/lib
parent97a42ea896892db2a612ed97afc53170a86529ef (diff)
downloadbcm5719-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')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud