[llvm-commits] [Mips] direct object generation patch request
Carter, Jack
jcarter at mips.com
Fri Dec 9 09:58:20 PST 2011
DO_relsym.patch
Contributers: Akira Hatanaka
Relocation against a symbol, instead of against section. We had some extreme test cases where there were a lot of relocations applied relative to a large rodata section. Gas would create a symbol for each of these whereas we would be relative to the beginning of the rodata section. This change mimics what gas does.
This is a direct object only change
lib/MC/ELFObjectWriter.cpp
llvm/test/CodeGen/Mips/2011-12-08-DO-relsym.ll : testcase
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20111209/5a48b522/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DO_relsym.patch
Type: text/x-patch
Size: 585 bytes
Desc: DO_relsym.patch
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20111209/5a48b522/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2011-12-08-DO-relsym.ll
Type: application/octet-stream
Size: 2763 bytes
Desc: 2011-12-08-DO-relsym.ll
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20111209/5a48b522/attachment.obj>
More information about the llvm-commits
mailing list