[PATCH] D16982: [ELF][MIPS] Add lazy relocation support for MIPS
Simon Atanasyan via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 8 05:41:14 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.
The patch adds lazy relocation support for MIPS and R_MIPS_26 relocation handing.
R_MIPS_26 relocation might require PLT entry creation. In that case it is fully supported by the patch. But if the relocation target is a local symbol we need to use a different expression to calculate the relocation result. This case is not implemented yet because there is no method to get know the kind of relocation target in the `relocateOne` routine.
Repository:
rL LLVM
http://reviews.llvm.org/D16982
Files:
ELF/Target.cpp
test/ELF/Inputs/mips-dynamic.s
test/ELF/mips-26.s
test/ELF/mips-plt-copy.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16982.47179.patch
Type: text/x-patch
Size: 13766 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160208/44bcf550/attachment-0001.bin>
More information about the llvm-commits
mailing list