diff options
| author | Peter Smith <peter.smith@linaro.org> | 2017-12-05 11:15:58 +0000 |
|---|---|---|
| committer | Peter Smith <peter.smith@linaro.org> | 2017-12-05 11:15:58 +0000 |
| commit | 7c40f93f387ac6b889c87683f63c82a9a5361fc1 (patch) | |
| tree | 8f86b4d5a3db5bb93dd6d663877e57e1821eeb54 /llvm/lib/Target | |
| parent | 86c40db49d89699d573347f093c3ea6a8a08eb61 (diff) | |
| download | bcm5719-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/Target')
0 files changed, 0 insertions, 0 deletions

