[PATCH] D14281: [ELF2] Sort dynamic symbols according to the MIPS requirements.
Igor Kudrin via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 3 05:34:23 PST 2015
ikudrin created this revision.
ikudrin added reviewers: ruiu, rafael, atanasyan.
ikudrin added a subscriber: llvm-commits.
ikudrin added a project: lld.
The MIPS ABI has its requirements to sort entries in the .dyn.sym section.
Symbols, which are not in the GOT, have to precede symbols added in the GOT.
These latter must have the same order as the corresponding GOT entries.
Since these sorting requirements contradict those of the GNU hash section,
these sections cannot be used together.
http://reviews.llvm.org/D14281
Files:
ELF/Driver.cpp
ELF/OutputSections.cpp
test/elf2/mips-dynsym-sort.s
test/elf2/mips-gnu-hash.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14281.39047.patch
Type: text/x-patch
Size: 3456 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151103/13a6d491/attachment.bin>
More information about the llvm-commits
mailing list