[PATCH] D17610: [ELF][MIPS] Calculate combined addend for R_MIPS_GOT16 against local symbol
Simon Atanasyan via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 25 08:32:22 PST 2016
atanasyan created this revision.
atanasyan added reviewers: ruiu, rafael.
atanasyan added a subscriber: llvm-commits.
atanasyan set the repository for this revision to rL LLVM.
atanasyan added a project: lld.
R_MIPS_GOT16 relocation against local symbol requires index of a local GOT entry which contains page address corresponds to sum of the symbol address and addend. The addend in that case is calculated using addends from the R_MIPS_GOT16 and paired R_MIPS_LO16 relocations.
Repository:
rL LLVM
http://reviews.llvm.org/D17610
Files:
ELF/InputSection.cpp
test/ELF/mips-got16.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17610.49069.patch
Type: text/x-patch
Size: 7444 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160225/27c063a1/attachment.bin>
More information about the llvm-commits
mailing list