[PATCH] D20097: [mips][ias] Handle N64 compound relocations and R_MIPS_SUB in needsRelocateWithSymbol()

Daniel Sanders via llvm-commits llvm-commits at lists.llvm.org
Tue May 10 06:01:57 PDT 2016


dsanders created this revision.
dsanders added reviewers: sdardis, rafael.
dsanders added a subscriber: llvm-commits.
Herald added subscribers: sdardis, dsanders.

This eliminates the default case for N64 that was left out of r269047.

The change to R_MIPS_SUB is needed in this patch to make this testable since
%lo(%neg(%gp_rel(foo))) and %hi(%neg(%gp_rel(foo))) remain the only ways to get
a compound relocation from the assembler.

http://reviews.llvm.org/D20097

Files:
  lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp
  test/MC/Mips/cpsetup.s
  test/MC/Mips/relocation-n64.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20097.56700.patch
Type: text/x-patch
Size: 5618 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160510/6cd39362/attachment.bin>


More information about the llvm-commits mailing list