diff options
| author | George Rimar <grimar@accesssoftek.com> | 2016-09-21 15:56:44 +0000 |
|---|---|---|
| committer | George Rimar <grimar@accesssoftek.com> | 2016-09-21 15:56:44 +0000 |
| commit | 07171f21d148d340115ec634be6a7f296799517d (patch) | |
| tree | fc936cdecbe62301dbcdc305738204dc05e23a70 /llvm/lib/Transforms/Utils | |
| parent | 1049085c788ac6628200fe3758b6f280ddbc6e2a (diff) | |
| download | bcm5719-llvm-07171f21d148d340115ec634be6a7f296799517d.tar.gz bcm5719-llvm-07171f21d148d340115ec634be6a7f296799517d.zip | |
[ELF] - Linkerscript: support complex section pattern grammar.
This is PR30442.
Previously we were failed to parce complex expressions like:
foo : { *(SORT_BY_NAME(bar) zed) }
Main idea of patch that globs and excludes can be wrapped in a SORT.
There is a difference in semanics of ld/gold:
ld likes:
*(SORT(EXCLUDE_FILE (*file1.o) .foo.1))
gold likes:
*(EXCLUDE_FILE (*file1.o) SORT(.foo.1))
Patch implements ld grammar, complex expressions like
next is not a problem anymore:
.abc : { *(SORT(.foo.* EXCLUDE_FILE (*file1.o) .bar.*) .bar.*) }
Differential revision: https://reviews.llvm.org/D24758
llvm-svn: 282078
Diffstat (limited to 'llvm/lib/Transforms/Utils')
0 files changed, 0 insertions, 0 deletions

