llvm-6502/lib/MC
Nico Rieck 18d49acdab MC: Support COFF image-relative MCSymbolRefs
Add support for the COFF relocation types IMAGE_REL_I386_DIR32NB and
IMAGE_REL_AMD64_ADDR32NB for 32- and 64-bit respectively. These are
similar to normal 4-byte relocations except that they do not include
the base address of the image.

Image-relative relocations are used for debug information (32-bit) and
SEH unwind tables (64-bit).

A new MCSymbolRef variant called 'VK_COFF_IMGREL32' is introduced to
specify such relocations. For AT&T assembly, this variant can be accessed
using the symbol suffix '@imgrel'.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179240 91177308-0d34-0410-b5e6-96231b3b80d8
2013-04-10 23:28:17 +00:00
..
MCDisassembler Remove the assert()'s from the LLVMCreateDisasmCPU() library API and just 2013-03-12 18:12:17 +00:00
MCParser Reapply r179115, but use parsePrimaryExpression a little more judiciously. 2013-04-10 17:35:30 +00:00
CMakeLists.txt Remove MCTargetAsmLexer and its derived classes now that edis, 2012-12-20 14:43:30 +00:00
ELFObjectWriter.cpp Commit the right files for r176762. Sigh. 2013-03-09 09:32:16 +00:00
LLVMBuild.txt
MachObjectWriter.cpp [MC/Mach-O] Load commands are supposed to 8-byte aligned on 64-bit. 2013-01-22 03:42:49 +00:00
Makefile
MCAsmBackend.cpp
MCAsmInfo.cpp Clean up assignment of CalleeSaveStackSlotSize: get rid of the default and explicitly set this in every target that needs to change it from the default. 2013-01-23 16:22:04 +00:00
MCAsmInfoCOFF.cpp
MCAsmInfoDarwin.cpp
MCAsmStreamer.cpp Debug Info: store the files and directories for each compile unit. 2013-03-07 01:42:00 +00:00
MCAssembler.cpp Remove unused method and default values. 2013-04-09 20:35:08 +00:00
MCAtom.cpp
MCCodeEmitter.cpp
MCCodeGenInfo.cpp
MCContext.cpp Debug Info: use SmallVector instead of std::vector in MCDwarfDirsCUMap and MCDwarfFilesCUMap 2013-03-12 20:17:00 +00:00
MCDisassembler.cpp
MCDwarf.cpp No need to have this return a bool. 2013-04-10 22:03:59 +00:00
MCELF.cpp ELF symbol table field st_other support, 2013-02-19 21:57:35 +00:00
MCELFObjectTargetWriter.cpp This patch reworks how llvm targets set 2013-01-30 02:09:52 +00:00
MCELFStreamer.cpp Use a scheme closer to that of GNU as when deciding the type of a 2013-04-10 16:52:15 +00:00
MCExpr.cpp MC: Support COFF image-relative MCSymbolRefs 2013-04-10 23:28:17 +00:00
MCInst.cpp
MCInstPrinter.cpp
MCInstrAnalysis.cpp
MCLabel.cpp
MCMachObjectTargetWriter.cpp
MCMachOStreamer.cpp Give the MCStreamer class hierarchy LLVM RTTI facilities for use with 2013-01-31 23:29:57 +00:00
MCModule.cpp
MCNullStreamer.cpp Debug Info: store the files and directories for each compile unit. 2013-03-07 01:42:00 +00:00
MCObjectFileInfo.cpp Track the compact unwind encoding for when we are unable to generate compact unwind information. 2013-04-10 21:42:06 +00:00
MCObjectStreamer.cpp Suppress a GCC -Wunused-variable warning in -Asserts builds 2013-02-15 23:12:33 +00:00
MCObjectWriter.cpp
MCPureStreamer.cpp Debug Info: store the files and directories for each compile unit. 2013-03-07 01:42:00 +00:00
MCRegisterInfo.cpp
MCSection.cpp
MCSectionCOFF.cpp
MCSectionELF.cpp
MCSectionMachO.cpp Add static cast to unsigned char whenever a character classification function is called with a signed char argument, in order to avoid assertions in Windows Debug configuration. 2013-02-12 21:21:59 +00:00
MCStreamer.cpp Change NULL to 0. 2013-03-18 23:08:01 +00:00
MCSubtargetInfo.cpp
MCSymbol.cpp
MCValue.cpp
MCWin64EH.cpp
SubtargetFeature.cpp
WinCOFFObjectWriter.cpp MC: Support COFF image-relative MCSymbolRefs 2013-04-10 23:28:17 +00:00
WinCOFFStreamer.cpp Give the MCStreamer class hierarchy LLVM RTTI facilities for use with 2013-01-31 23:29:57 +00:00