llvm-mirror/test/MC
Vladimir Stefanovic d431e5c490 [MC] Support labels as offsets in .reloc directive
Currently, expressions like

  .reloc 1f, R_MIPS_JALR, foo
  1: nop

are not allowed, ie. an offset in .reloc can only be absolute value.
This patch adds support for labels as offsets.
If offset is a forward declared label, MCObjectStreamer keeps the fixup locally
and adds it to the fixups vector after the label (and its offset) is defined.
label+number is not supported yet.

Differential revision: https://reviews.llvm.org/D53990

llvm-svn: 347397
2018-11-21 16:28:39 +00:00
..
AArch64 [AArch64] Support HiSilicon's TSV110 processor 2018-11-09 19:32:08 +00:00
AMDGPU AMDHSA: More code object v3 fixes: 2018-11-15 23:14:23 +00:00
ARM [llvm-readelf] Make llvm-readelf more compatible with GNU readelf. 2018-11-12 18:02:38 +00:00
AsmParser
AVR
BPF
COFF
Disassembler [MSP430] Add MC layer 2018-11-15 12:29:43 +00:00
ELF Fix .cfi_restore with register numbers > 64 2018-11-13 10:54:49 +00:00
Hexagon [MC] Fix 3 objdump tests after rL346610 2018-11-11 19:15:27 +00:00
Lanai
MachO
Mips [MC] Support labels as offsets in .reloc directive 2018-11-21 16:28:39 +00:00
MSP430 [MSP430] Use R_MSP430_16_BYTE type for FK_Data_2 fixup 2018-11-16 19:20:51 +00:00
PowerPC
RISCV [RISCV] Introduce the RISCVMatInt::generateInstSeq helper 2018-11-15 10:11:31 +00:00
Sparc
SystemZ [SystemZ] Implement SystemZOperand::print() 2018-10-26 00:36:00 +00:00
WebAssembly [WebAssembly] replaced .param/.result by .functype 2018-11-19 17:10:36 +00:00
X86 [MC] Separate masm integer literal lexer support from inline asm 2018-10-24 20:23:57 +00:00