summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorPeter Smith <peter.smith@linaro.org>2017-12-05 11:15:58 +0000
committerPeter Smith <peter.smith@linaro.org>2017-12-05 11:15:58 +0000
commit7c40f93f387ac6b889c87683f63c82a9a5361fc1 (patch)
tree8f86b4d5a3db5bb93dd6d663877e57e1821eeb54 /llvm/lib
parent86c40db49d89699d573347f093c3ea6a8a08eb61 (diff)
downloadbcm5719-llvm-7c40f93f387ac6b889c87683f63c82a9a5361fc1.tar.gz
bcm5719-llvm-7c40f93f387ac6b889c87683f63c82a9a5361fc1.zip
[ELF] InX::BssRelRo should check section contents before marking relro
When a linker script is used with a pattern like { *(.bss .bss.*) } the InX::BssRelRo section will match against .bss.*. By matching on the name only, in the same way that .data.rel.ro works we prevent this from happening, but permit scripts that want to explicitly provide a .bss.rel.ro OutputSection. Differential Revision: https://reviews.llvm.org/D40735 llvm-svn: 319755
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud