diff options
author | George Rimar <grimar@accesssoftek.com> | 2016-08-12 09:07:57 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2016-08-12 09:07:57 +0000 |
commit | 06ae68362060928fdc391bea8061cf9d8dc622eb (patch) | |
tree | e9290d7116ede30f835e9d5017ff216cb759b325 /lldb/packages/Python/lldbsuite/test | |
parent | bbff9c6130ed0b3f16e6f78d703c3191d5331808 (diff) | |
download | bcm5719-llvm-06ae68362060928fdc391bea8061cf9d8dc622eb.tar.gz bcm5719-llvm-06ae68362060928fdc391bea8061cf9d8dc622eb.zip |
[ELF] - Linkerscript: reimplemented output sections constrains matching functionality.
Previously filtering that was used worked incorrectly.
For example for next script it would just remove both sections completely:
SECTIONS {
. = 0x1000;
.aaa : ONLY_IF_RW { *(.aaa.*) }
. = 0x2000;
.aaa : ONLY_IF_RO { *(.aaa.*) }
}
Patch fixes above issues and adds testcase showing the issue. Testcase is a subset of
FreeBSD script which has:
.eh_frame : ONLY_IF_RO { KEEP (*(.eh_frame)) }
...
.eh_frame : ONLY_IF_RW { KEEP (*(.eh_frame)) }
Differential revision: https://reviews.llvm.org/D23326
llvm-svn: 278486
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions