[PATCH] D13723: [ELF2][mips] Support both big and little endian MIPS 32-bit targets
Simon Atanasyan via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 14 06:16:42 PDT 2015
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.
Herald added a subscriber: dsanders.
- Make the `MipsTargetInfo` template class with `ELFType` argument. Use the argument to select an appropriate relocation type and read/write routines.
- Add template function `add32` to add-and-write relocation value in both big and little endian cases. Keep the `add32le` to reduce code changes.
Repository:
rL LLVM
http://reviews.llvm.org/D13723
Files:
ELF/Target.cpp
ELF/Target.h
test/elf2/mips-relocs.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13723.37343.patch
Type: text/x-patch
Size: 5027 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151014/aac2d429/attachment.bin>
More information about the llvm-commits
mailing list