[PATCH] D22683: [ELF] Symbol assignment within input section list
Rafael Ávila de Espíndola via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 29 09:46:18 PDT 2016
rafael added inline comments.
================
Comment at: ELF/LinkerScript.h:152
@@ +151,3 @@
+
+ // Relative symbol sections.
+ std::vector<std::unique_ptr<InputSectionBase<ELFT>>> RSS;
----------------
ruiu wrote:
> I think we name this kind of thing `OwningSections`.
I don't think Relative is the correct terminology.
In .o files a symbol is relative to a section.
In a .so or executable a symbol value is a virtual address. In fact, the entire section table is optional. Using an actual section number instead of ABS is just being human friendly.
Repository:
rL LLVM
https://reviews.llvm.org/D22683
More information about the llvm-commits
mailing list