[PATCH] D36986: [ELF] Generate symbol assignments for predefined symbols
Petr Hosek via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 30 16:26:41 PDT 2017
phosek updated this revision to Diff 113334.
phosek marked 2 inline comments as done.
phosek added a comment.
Thanks! I understand your concern but I think this change is in line with what LLD already does e.g. for output sections which are also converted to commands. The main difference between BFD ld and LLD is that in BFD ld, even the default behavior is driven by the linker script while in LLD we only construct the internal representation that is equivalent to some imaginary linker script... in a way, the `BaseCommand` hierarchy is becoming LLD's IR.
Repository:
rL LLVM
https://reviews.llvm.org/D36986
Files:
ELF/Writer.cpp
test/ELF/edata-etext.s
test/ELF/linkerscript/symbol-reserved.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36986.113334.patch
Type: text/x-patch
Size: 6454 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170830/fe854174/attachment.bin>
More information about the llvm-commits
mailing list