[PATCH] D24135: [ELF] Linkerscript: support ABSOLUTE keyword in symbol assignment expression
Eugene Leviant via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 1 13:46:17 PDT 2016
evgeny777 added inline comments.
================
Comment at: ELF/LinkerScript.cpp:286-287
@@ +285,4 @@
+ if (Cmd->ForceAbsolute) {
+ replaceBody<DefinedRegular<ELFT>>(S, Cmd->Name,
+ static_cast<uint8_t>(S->Visibility));
+ Body->Value = Cmd->Expression(Sec->getVA() + Off);
----------------
ruiu wrote:
> Why do you have to replace a symbol here only when it is an absolute symbol?
Because it is initially created as synthetic in addSynthetic()
Repository:
rL LLVM
https://reviews.llvm.org/D24135
More information about the llvm-commits
mailing list