1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 00:12:50 +01:00
llvm-mirror/test/MC/COFF
Nico Rieck 8e22855ea6 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
..
align-nops.s
basic-coff.s
bss.s
comm.ll
diff.s
global_ctors_dtors.ll
lit.local.cfg
module-asm.ll
relocation-imgrel.s MC: Support COFF image-relative MCSymbolRefs 2013-04-10 23:28:17 +00:00
secrel32.s
seh-section.s
seh.s
simple-fixups.s
switch-relocations.ll
symbol-alias.s
symbol-fragment-offset.s
symbol-mangling.ll
weak-symbol-section-specification.ll
weak.s