[PATCH] D27524: [ELF][MIPS] Make _gp, _gp_disp, __gnu_local_gp global symbols
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 7 11:13:42 PST 2016
ruiu added a comment.
I wonder if
================
Comment at: ELF/Relocations.cpp:351-353
+ // Another special case is MIPS _gp_disp symbol which represents offset
+ // between start of a function and '_gp' value and defined as absolute just
+ // to simplify the code.
----------------
Doesn't _gp_disp represents offset between _gp and .got? I'm not sure what you mean by "a function" in the above description.
Repository:
rL LLVM
https://reviews.llvm.org/D27524
More information about the llvm-commits
mailing list