[PATCH] D47098: [ELF] Make R_GOTONLY_PC_FROM_END R_GOTREL_FROM_END relative to _GLOBAL_OFFSET_TABLE_ instead of end of .got
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 24 18:05:45 PDT 2018
ruiu added a comment.
I'm sorry I missed this one.
================
Comment at: ELF/InputSection.cpp:482
const Symbol &Sym, RelExpr Expr) {
+ const Defined* GOTBase = ElfSym::GlobalOffsetTable;
switch (Expr) {
----------------
I wouldn't define this local variable as it doesn't add much value to the code.
Repository:
rLLD LLVM Linker
https://reviews.llvm.org/D47098
More information about the llvm-commits
mailing list