llvm-6502/lib/MC
Adhemerval Zanella aa71428378 Initial TOC support for PowerPC64 object creation
This patch adds initial PPC64 TOC MC object creation using the small mcmodel
(a single 64K TOC) adding the some TOC relocations (R_PPC64_TOC,
R_PPC64_TOC16, and R_PPC64_TOC16DS).

The addition of 'undefinedExplicitRelSym' hook on 'MCELFObjectTargetWriter'
is meant to avoid the creation of an unreferenced ".TOC." symbol (used in
the .odp creation) as well to set the R_PPC64_TOC relocation target as the
temporary ".TOC." symbol. On PPC64 ABI, the R_PPC64_TOC relocation should
not point to any symbol.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166677 91177308-0d34-0410-b5e6-96231b3b80d8
2012-10-25 12:27:42 +00:00
..
MCDisassembler Add support for annotated disassembly output for X86 and arm. 2012-10-22 22:31:46 +00:00
MCParser [ms-inline asm] Create a register operand, rather than a memory operand when we 2012-10-24 17:22:29 +00:00
CMakeLists.txt
ELFObjectWriter.cpp Initial TOC support for PowerPC64 object creation 2012-10-25 12:27:42 +00:00
LLVMBuild.txt
MachObjectWriter.cpp Tidy up. 80 columns. 2012-09-18 23:05:12 +00:00
Makefile
MCAsmBackend.cpp MachO: direct-to-object attribute for data-in-code markers. 2012-10-01 22:20:54 +00:00
MCAsmInfo.cpp
MCAsmInfoCOFF.cpp
MCAsmInfoDarwin.cpp
MCAsmStreamer.cpp PowerPC: add EmitTCEntry class for TOC creation 2012-10-15 15:43:14 +00:00
MCAssembler.cpp Tidy up. Minor formatting. 2012-09-18 23:05:18 +00:00
MCAtom.cpp
MCCodeEmitter.cpp
MCCodeGenInfo.cpp
MCContext.cpp Avoid symbol name clash when filling TOC. 2012-09-18 17:10:37 +00:00
MCDisassembler.cpp
MCDwarf.cpp
MCELF.cpp
MCELF.h
MCELFObjectTargetWriter.cpp Initial TOC support for PowerPC64 object creation 2012-10-25 12:27:42 +00:00
MCELFStreamer.cpp PowerPC: add EmitTCEntry class for TOC creation 2012-10-15 15:43:14 +00:00
MCExpr.cpp Rename virtual table anchors from Anchor() to anchor() for consistency with the rest of the tree. 2012-09-26 06:36:36 +00:00
MCInst.cpp
MCInstPrinter.cpp Make branch heavy code for generating marked up disassembly simpler 2012-10-23 22:52:52 +00:00
MCInstrAnalysis.cpp
MCLabel.cpp
MCMachObjectTargetWriter.cpp
MCMachOStreamer.cpp Hoist some grossly duplicated code from the COFF/ELF/MachO streamers into MCObjectStreamer. 2012-10-04 13:12:43 +00:00
MCModule.cpp
MCNullStreamer.cpp
MCObjectFileInfo.cpp Add names for the accelerator table sections so that they can 2012-10-08 21:41:30 +00:00
MCObjectStreamer.cpp Hoist some grossly duplicated code from the COFF/ELF/MachO streamers into MCObjectStreamer. 2012-10-04 13:12:43 +00:00
MCObjectWriter.cpp
MCPureStreamer.cpp
MCRegisterInfo.cpp
MCSection.cpp
MCSectionCOFF.cpp
MCSectionELF.cpp
MCSectionMachO.cpp
MCStreamer.cpp PowerPC: add EmitTCEntry class for TOC creation 2012-10-15 15:43:14 +00:00
MCSubtargetInfo.cpp Fix doxygen comment to match function name. 2012-10-03 06:47:18 +00:00
MCSymbol.cpp
MCTargetAsmLexer.cpp
MCValue.cpp
MCWin64EH.cpp
SubtargetFeature.cpp Symbol hygiene: Make sure declarations and definitions match, make helper functions static. 2012-10-20 12:53:26 +00:00
WinCOFFObjectWriter.cpp Revert 'Fix a typo 'iff' => 'if''. iff is an abreviation of if and only if. See: http://en.wikipedia.org/wiki/If_and_only_if Commit 164767 2012-09-27 10:14:43 +00:00
WinCOFFStreamer.cpp Hoist some grossly duplicated code from the COFF/ELF/MachO streamers into MCObjectStreamer. 2012-10-04 13:12:43 +00:00