llvm-project/llvm/lib/Target/Mips/MCTargetDesc
Daniel Sanders 55d383319f [mips][ias] Handle N64 compound relocations and R_MIPS_SUB in needsRelocateWithSymbol()
Summary:
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.

Reviewers: sdardis, rafael

Subscribers: dsanders, llvm-commits, sdardis

Differential Revision: http://reviews.llvm.org/D20097

llvm-svn: 269280
2016-05-12 10:55:00 +00:00
..
CMakeLists.txt MipsABIInfo class is used in different libraries. Moving the files to MCTargetDesc folder(LLVMMipsDesc library) prevents linkage errors. There are no functional changes. 2014-12-17 11:49:56 +00:00
LLVMBuild.txt
MipsABIFlagsSection.cpp Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
MipsABIFlagsSection.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
MipsABIInfo.cpp [mips][atomics] Fix partword atomic binary operation implementation 2016-04-28 16:26:43 +00:00
MipsABIInfo.h [mips][atomics] Fix partword atomic binary operation implementation 2016-04-28 16:26:43 +00:00
MipsAsmBackend.cpp [mips] Use MipsMCExpr instead of MCSymbolRefExpr for all relocations. 2016-05-03 13:35:44 +00:00
MipsAsmBackend.h [MC, COFF] Add .reloc support for WinCOFF 2016-01-19 23:05:27 +00:00
MipsBaseInfo.h [mips] Use MipsMCExpr instead of MCSymbolRefExpr for all relocations. 2016-05-03 13:35:44 +00:00
MipsELFObjectWriter.cpp [mips][ias] Handle N64 compound relocations and R_MIPS_SUB in needsRelocateWithSymbol() 2016-05-12 10:55:00 +00:00
MipsELFStreamer.cpp Cleanup places that passed SMLoc by const reference to pass it by value instead. NFC 2015-09-20 23:35:59 +00:00
MipsELFStreamer.h Cleanup places that passed SMLoc by const reference to pass it by value instead. NFC 2015-09-20 23:35:59 +00:00
MipsFixupKinds.h [mips] Use MipsMCExpr instead of MCSymbolRefExpr for all relocations. 2016-05-03 13:35:44 +00:00
MipsMCAsmInfo.cpp Revert r247692: Replace Triple with a new TargetTuple in MCTargetDesc/* and related. NFC. 2015-09-15 16:17:27 +00:00
MipsMCAsmInfo.h Revert r247692: Replace Triple with a new TargetTuple in MCTargetDesc/* and related. NFC. 2015-09-15 16:17:27 +00:00
MipsMCCodeEmitter.cpp [mips][microMIPS] Implement CFC*, CTC* and LDC* instructions 2016-05-11 12:12:24 +00:00
MipsMCCodeEmitter.h [mips][microMIPS] Implement CFC*, CTC* and LDC* instructions 2016-05-11 12:12:24 +00:00
MipsMCExpr.cpp [mips] Use MipsMCExpr instead of MCSymbolRefExpr for all relocations. 2016-05-03 13:35:44 +00:00
MipsMCExpr.h [mips] Use MipsMCExpr instead of MCSymbolRefExpr for all relocations. 2016-05-03 13:35:44 +00:00
MipsMCNaCl.h Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
MipsMCTargetDesc.cpp [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
MipsMCTargetDesc.h Revert r247692: Replace Triple with a new TargetTuple in MCTargetDesc/* and related. NFC. 2015-09-15 16:17:27 +00:00
MipsNaClELFStreamer.cpp Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
MipsOptionRecord.cpp [mips] Add COP0 register class and use it in M[FT]C0/DM[FT]C0. 2015-06-27 15:39:19 +00:00
MipsTargetStreamer.cpp [mips][ias] Fix N32 and N64 .cprestore directive when inside .set noat region. 2016-05-11 12:48:19 +00:00