llvm-project/llvm/lib/Target/X86/MCTargetDesc
Nico Rieck 1da4529b15 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'.

llvm-svn: 179240
2013-04-10 23:28:17 +00:00
..
CMakeLists.txt Move x86 specific bits of the COFF writer to lib/Target/X86. 2011-12-24 02:14:02 +00:00
LLVMBuild.txt LLVMBuild: Remove trailing newline, which irked me. 2011-12-12 19:48:00 +00:00
Makefile
X86AsmBackend.cpp The current X86 NOP padding uses one long NOP followed by the remainder in 2013-03-05 00:02:23 +00:00
X86BaseInfo.h In the X86 back end, getMemoryOperandNo() returns the offset 2013-04-10 20:11:59 +00:00
X86ELFObjectWriter.cpp Enable ELF machine type to be specified explicitly in X86 backend 2012-10-30 17:33:39 +00:00
X86FixupKinds.h Emacs-tag and some comment fix for all ARM, CellSPU, Hexagon, MBlaze, MSP430, PPC, PTX, Sparc, X86, XCore. 2012-02-18 12:03:15 +00:00
X86MCAsmInfo.cpp Initial patch for x32 ABI support. 2013-01-22 18:02:49 +00:00
X86MCAsmInfo.h Emacs-tag and some comment fix for all ARM, CellSPU, Hexagon, MBlaze, MSP430, PPC, PTX, Sparc, X86, XCore. 2012-02-18 12:03:15 +00:00
X86MCCodeEmitter.cpp In the X86 back end, getMemoryOperandNo() returns the offset 2013-04-10 20:11:59 +00:00
X86MCTargetDesc.cpp MC: Add MCInstrDesc::mayAffectControlFlow() method. 2012-12-19 23:38:53 +00:00
X86MCTargetDesc.h Enable ELF machine type to be specified explicitly in X86 backend 2012-10-30 17:33:39 +00:00
X86MachObjectWriter.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
X86WinCOFFObjectWriter.cpp MC: Support COFF image-relative MCSymbolRefs 2013-04-10 23:28:17 +00:00