llvm-6502/include/llvm/MC
Petar Jovanovic 01b026b023 Re-enable target-specific relocation table sorting and use it for Mips
Some targets (ie. Mips) have additional rules for ordering the relocation
table entries. Allow them to override generic sortRelocs(), which sorts
entries by Offset.
Then override this function for Mips, to emit HI16 and GOT16 relocations
against the local symbol in pair with the corresponding LO16 relocation.

Patch by Vladimir Stefanovic.

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


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234883 91177308-0d34-0410-b5e6-96231b3b80d8
2015-04-14 13:23:34 +00:00
..
MCParser Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:11:45 +00:00
ConstantPools.h Remove empty non-virtual destructors or mark them =default when non-public 2015-04-11 15:32:26 +00:00
MachineLocation.h
MCAsmBackend.h Don't repeat names in comments. 2015-04-09 16:06:26 +00:00
MCAsmInfo.h [NVPTXAsmPrinter] do not print .align on function headers 2015-03-12 01:50:30 +00:00
MCAsmInfoCOFF.h
MCAsmInfoDarwin.h Recommit r224935 with a fix for the ObjC++/AArch64 bug that that revision 2015-01-09 18:55:42 +00:00
MCAsmInfoELF.h Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:11:45 +00:00
MCAsmLayout.h [MC] Write padding into fragments when -mc-relax-all flag is used 2015-04-12 23:42:25 +00:00
MCAssembler.h [MC] Write padding into fragments when -mc-relax-all flag is used 2015-04-12 23:42:25 +00:00
MCCodeEmitter.h Removing LLVM_DELETED_FUNCTION, as MSVC 2012 was the last reason for requiring the macro. NFC; LLVM edition. 2015-02-15 22:54:22 +00:00
MCCodeGenInfo.h
MCContext.h [WinEH] Fix xdata generation when no catch object is present 2015-04-07 19:46:38 +00:00
MCDirectives.h
MCDisassembler.h MCDisassembler::getInstruction():: Prune also "\param Region", since it was removed in r221751. [-Wdocumentation] 2014-11-12 07:42:26 +00:00
MCDwarf.h [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
MCELF.h
MCELFObjectWriter.h Re-enable target-specific relocation table sorting and use it for Mips 2015-04-14 13:23:34 +00:00
MCELFStreamer.h [MC] Write padding into fragments when -mc-relax-all flag is used 2015-04-12 23:42:25 +00:00
MCELFSymbolFlags.h
MCExpr.h Fix PR23025. 2015-03-26 21:11:00 +00:00
MCExternalSymbolizer.h
MCFixedLenDisassembler.h
MCFixup.h
MCFixupKindInfo.h
MCInst.h [MC] Constifying MCInst::size() 2015-02-17 19:46:23 +00:00
MCInstBuilder.h
MCInstPrinter.h Delete MCInstPrinter::AvailableFeatures. 2015-03-28 21:07:24 +00:00
MCInstrAnalysis.h
MCInstrDesc.h Revert "Use std::bitset for SubtargetFeatures" 2015-03-24 12:56:59 +00:00
MCInstrInfo.h
MCInstrItineraries.h
MCLabel.h Removing LLVM_DELETED_FUNCTION, as MSVC 2012 was the last reason for requiring the macro. NFC; LLVM edition. 2015-02-15 22:54:22 +00:00
MCLinkerOptimizationHint.h Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:11:45 +00:00
MCMachObjectWriter.h Be consistent when deciding if a relocation is needed. 2015-04-06 15:27:57 +00:00
MCMachOSymbolFlags.h
MCObjectFileInfo.h Remove useless .debug_macinfo section setup. 2015-03-02 19:52:42 +00:00
MCObjectStreamer.h [MC] Write padding into fragments when -mc-relax-all flag is used 2015-04-12 23:42:25 +00:00
MCObjectWriter.h Use support::endian. NFC. 2015-04-07 21:22:05 +00:00
MCRegisterInfo.h MCRegisterInfo: Add MCSubRegIndexIterator. 2014-12-10 01:13:06 +00:00
MCRelocationInfo.h Removing LLVM_DELETED_FUNCTION, as MSVC 2012 was the last reason for requiring the macro. NFC; LLVM edition. 2015-02-15 22:54:22 +00:00
MCSchedule.h
MCSection.h Implement unique sections with an unique ID. 2015-04-04 18:02:01 +00:00
MCSectionCOFF.h Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:11:45 +00:00
MCSectionELF.h Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:11:45 +00:00
MCSectionMachO.h Create symbols marking the start of a section earlier. 2015-03-10 22:00:25 +00:00
MCStreamer.h Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:11:45 +00:00
MCSubtargetInfo.h Revert "Use std::bitset for SubtargetFeatures" 2015-03-24 12:56:59 +00:00
MCSymbol.h MC: For variable symbols, maintain MCSymbol::Section as a cache. 2015-04-03 01:46:11 +00:00
MCSymbolizer.h Removing LLVM_DELETED_FUNCTION, as MSVC 2012 was the last reason for requiring the macro. NFC; LLVM edition. 2015-02-15 22:54:22 +00:00
MCTargetAsmParser.h Remove empty non-virtual destructors or mark them =default when non-public 2015-04-11 15:32:26 +00:00
MCTargetOptions.h Migrate ABIName to MCTargetOptions so that it can be shared between 2015-01-14 00:50:31 +00:00
MCTargetOptionsCommandFlags.h [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
MCValue.h [MC] Remove various unused MCAsmInfo parameters. 2015-02-05 00:58:51 +00:00
MCWin64EH.h
MCWinCOFFObjectWriter.h ARM: fail less catastrophically on invalid Windows input 2015-01-22 04:03:32 +00:00
MCWinCOFFStreamer.h
MCWinEH.h
SectionKind.h Remove MergeableConst. 2015-01-29 14:12:41 +00:00
StringTableBuilder.h Remove StringMap::GetOrCreateValue in favor of StringMap::insert 2014-11-19 05:49:42 +00:00
SubtargetFeature.h Make llc use getHostCPUFeatures when 'native' is specified for cpu. 2015-03-31 05:52:57 +00:00
YAML.h