[PATCH] D22455: [ELF] Create output sections in LinkerScript class
Eugene Leviant via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 18 02:55:15 PDT 2016
evgeny777 created this revision.
evgeny777 added reviewers: grimar, ruiu.
evgeny777 added subscribers: ikudrin, llvm-commits.
evgeny777 set the repository for this revision to rL LLVM.
evgeny777 added a project: lld.
Creating this patch according to George suggestion here
https://reviews.llvm.org/D19976
This patch moves output section creation from Writer<ELFT> to LinkerScript<ELFT>.
Input section order in linker script is respected and can be different from section order in input files.
All lld unit tests pass successfully without modification
The main goal of this patch is to give a go to https://reviews.llvm.org/D22215
and many other unsupported features (like symbol assignment, PROVIDE, PROVIDE_HIDDEN, e.t.c)
Repository:
rL LLVM
https://reviews.llvm.org/D22455
Files:
ELF/InputSection.cpp
ELF/LinkerScript.cpp
ELF/LinkerScript.h
ELF/Writer.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22455.64289.patch
Type: text/x-patch
Size: 6298 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160718/96204fb2/attachment.bin>
More information about the llvm-commits
mailing list