[PATCH] D24650: [ELF] - Linkerscript: PR30387 - cannot handle EXCLUDE_FILE in the middle of a input section description.
George Rimar via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 16 02:36:52 PDT 2016
grimar created this revision.
grimar added reviewers: ruiu, rafael.
grimar added subscribers: llvm-commits, grimar, evgeny777.
This is PR30387:
From PR description:
We fail to parse
SECTIONS
{
foo :
{
*(sec0 EXCLUDE_FILE (zed1.o) sec1 EXCLUDE_FILE (zed2.o) sec2 )
}
}
The semantics according to bfd are:
* Include sec1 from every file but zed1.o
* Include sec2 from every file but zed2.o
* Include sec0 from every file
Patch implements the support.
https://reviews.llvm.org/D24650
Files:
ELF/LinkerScript.cpp
ELF/LinkerScript.h
test/ELF/linkerscript/Inputs/exclude-multiple1.s
test/ELF/linkerscript/Inputs/exclude-multiple2.s
test/ELF/linkerscript/exclude-multiple.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24650.71602.patch
Type: text/x-patch
Size: 6725 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160916/1c0f9023/attachment.bin>
More information about the llvm-commits
mailing list