llvm-6502/lib/MC
Saleem Abdulrasool 9629ad3005 ARM: support tlscall relocations
This adds support for TLS CALL relocations.  TLS CALL relocations are used to
indicate to the linker to generate appropriate entries to resolve TLS references
via an appropriate function invocation (e.g. __tls_get_addr(PLT)).

In order to accomodate the linker relaxation of the TLS access model for the
references (GD/LD -> IE, IE -> LE), the relocation addend must be incomplete.
This requires that the partial inplace value is also incomplete (i.e. 0).  We
simply avoid the offset value calculation at the time of the fixup adjustment in
the ARM assembler backend.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200446 91177308-0d34-0410-b5e6-96231b3b80d8
2014-01-30 04:02:31 +00:00
..
MCDisassembler For the 'C' disassembler API, add a new ReferenceType for the 2014-01-06 22:08:08 +00:00
MCParser MC: Better management of macro arguments 2014-01-29 18:57:46 +00:00
CMakeLists.txt Add a MCAsmInfoELF class and factor some code into it. 2013-10-16 01:34:32 +00:00
ELFObjectWriter.cpp Force emit a relocation for @gnu_indirect_function symbols so that the indirect 2014-01-08 18:50:32 +00:00
LLVMBuild.txt
MachObjectWriter.cpp Correct word hyphenations 2013-12-05 05:44:44 +00:00
Makefile
MCAsmBackend.cpp Use llvm::array_lengthof to replace sizeof(array)/sizeof(array[0]). 2013-07-15 04:27:47 +00:00
MCAsmInfo.cpp CommentColumn is always 40. Simplify. 2014-01-16 07:04:11 +00:00
MCAsmInfoCOFF.cpp Make the llvm mangler depend only on DataLayout. 2014-01-03 19:21:54 +00:00
MCAsmInfoDarwin.cpp Make the llvm mangler depend only on DataLayout. 2014-01-03 19:21:54 +00:00
MCAsmInfoELF.cpp Refactor the setting of PrivateGlobalPrefix. 2013-12-02 23:39:26 +00:00
MCAsmStreamer.cpp Explictly pass MCSubtargetInfo to MCCodeEmitter::EncodeInstruction() 2014-01-28 23:13:07 +00:00
MCAssembler.cpp Explictly pass MCSubtargetInfo to MCCodeEmitter::EncodeInstruction() 2014-01-28 23:13:07 +00:00
MCAtom.cpp [weak vtables] Remove a bunch of weak vtables 2013-11-19 00:57:56 +00:00
MCCodeEmitter.cpp
MCCodeGenInfo.cpp
MCContext.cpp Re-sort all of the includes with ./utils/sort_includes.py so that 2014-01-07 11:48:04 +00:00
MCDisassembler.cpp Follow up of the introduction of MCSymbolizer. 2013-05-24 22:51:52 +00:00
MCDwarf.cpp MC: Add support for .cfi_startproc simple 2014-01-27 17:20:25 +00:00
MCELF.cpp [mc] Fix ELF st_other flag. 2013-12-05 00:34:11 +00:00
MCELFObjectTargetWriter.cpp Provide basic type safety for array_pod_sort comparators. 2013-09-22 14:09:50 +00:00
MCELFStreamer.cpp Explictly pass MCSubtargetInfo to MCCodeEmitter::EncodeInstruction() 2014-01-28 23:13:07 +00:00
MCExpr.cpp ARM: support tlscall relocations 2014-01-30 04:02:31 +00:00
MCExternalSymbolizer.cpp Tweak the MCExternalSymbolizer to not use the SymbolLookUp() call back 2014-01-21 00:23:17 +00:00
MCFunction.cpp Style cleanup following David's review for r188876. 2013-08-21 19:40:25 +00:00
MCInst.cpp Release build: guard dump functions with 2012-09-12 05:06:18 +00:00
MCInstPrinter.cpp [MC] When MCInstPrint::printAnnotation uses a comment stream, it has to ensure 2013-10-01 19:21:24 +00:00
MCInstrAnalysis.cpp MC: Disassembled CFG reconstruction. 2013-05-24 01:07:04 +00:00
MCLabel.cpp Release build: guard dump functions with 2012-09-12 05:06:18 +00:00
MCMachObjectTargetWriter.cpp
MCMachOStreamer.cpp Explictly pass MCSubtargetInfo to MCCodeEmitter::EncodeInstruction() 2014-01-28 23:13:07 +00:00
MCModule.cpp MC CFG: Split MCBasicBlocks to mirror atom splitting. 2013-08-21 07:28:24 +00:00
MCModuleYAML.cpp MC CFG: Add YAML MCModule representation to enable MC CFG testing. 2013-08-21 07:29:02 +00:00
MCNullStreamer.cpp Change MCStreamer EmitInstruction interface to take subtarget info 2014-01-28 23:12:42 +00:00
MCObjectDisassembler.cpp Simplify the handling of iterators in ObjectFile. 2014-01-30 02:49:50 +00:00
MCObjectFileInfo.cpp Reland r200340 - 'Add line table debug info to COFF files when using a win32 triple' 2014-01-30 01:39:17 +00:00
MCObjectStreamer.cpp Explictly pass MCSubtargetInfo to MCCodeEmitter::EncodeInstruction() 2014-01-28 23:13:07 +00:00
MCObjectSymbolizer.cpp Simplify the handling of iterators in ObjectFile. 2014-01-30 02:49:50 +00:00
MCObjectWriter.cpp Move [SU]LEB128 encoding to a utility header. 2012-08-08 23:56:06 +00:00
MCPureStreamer.cpp Explictly pass MCSubtargetInfo to MCCodeEmitter::EncodeInstruction() 2014-01-28 23:13:07 +00:00
MCRegisterInfo.cpp Make SubRegIndex size mandatory, following r183020. 2013-05-31 23:45:26 +00:00
MCRelocationInfo.cpp Re-sort all of the includes with ./utils/sort_includes.py so that 2014-01-07 11:48:04 +00:00
MCSection.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
MCSectionCOFF.cpp MC COFF: Emit the 'b' section flag for .bss sections in GNU assembly 2013-12-17 22:12:40 +00:00
MCSectionELF.cpp Remove AllowQuotesInName and friends from MCAsmInfo. 2013-11-13 14:01:59 +00:00
MCSectionMachO.cpp Correct word hyphenations 2013-12-05 05:44:44 +00:00
MCStreamer.cpp MC: Add support for .cfi_startproc simple 2014-01-27 17:20:25 +00:00
MCSubtargetInfo.cpp Reverting r199886 (Prevent repetitive warnings for unrecognized processors and features) 2014-01-25 16:56:18 +00:00
MCSymbol.cpp Don't mangle \n and " 2013-11-14 06:05:49 +00:00
MCSymbolizer.cpp Add MCSymbolizer for symbolic/annotated disassembly. 2013-05-24 00:39:57 +00:00
MCValue.cpp Release build: guard dump functions with 2012-09-12 05:06:18 +00:00
MCWin64EH.cpp Fix alignment of unwind data. 2013-09-15 18:01:09 +00:00
SubtargetFeature.cpp Reverting r199886 (Prevent repetitive warnings for unrecognized processors and features) 2014-01-25 16:56:18 +00:00
WinCOFFObjectWriter.cpp MC: Fatally error if subtraction operand is bad 2014-01-06 07:39:46 +00:00
WinCOFFStreamer.cpp Explictly pass MCSubtargetInfo to MCCodeEmitter::EncodeInstruction() 2014-01-28 23:13:07 +00:00