llvm-project/llvm/test/MC
Simon Dardis da96c43682 [MIPS] Handle PIC load address macro instructions in N64.
In particular, use CALL16 (similar to O32) for address loads into T9 for certain
cases.  Otherwise use a %got_disp relocation to load the address of a symbol.
Small offsets (small enough to fit in a 16-bit signed immediate) can be used and
are added to the symbol address after it is loaded from the GOT.  Larger offsets
are currently unsupported and result in an error from the assembler.

Reviewers: sdardis

Reviewed By: sdardis

Patch by: John Baldwin

Subscribers: llvm-commits, seanbruno, arichardson, emaste, dim

Differential Revision: https://reviews.llvm.org/D33948

llvm-svn: 306831
2017-06-30 15:44:27 +00:00
..
AArch64 [COFF, ARM64] Add support for Windows ARM64 COFF format 2017-06-27 23:58:19 +00:00
AMDGPU [AMDGPU] Add intrinsics for tbuffer load and store 2017-06-22 16:29:22 +00:00
ARM ARM: move some logic from processFixupValue to applyFixup. 2017-06-23 22:52:36 +00:00
AVR [AVR] Fix a bug so that we now emit R_AVR_16 fixups with the correct offset 2017-04-30 23:33:52 +00:00
AsmParser fix trivial typo in comment, NFC 2017-06-26 06:32:04 +00:00
COFF COFF: Produce an error on invalid pcrel relocs. 2017-06-23 04:07:44 +00:00
Disassembler [SystemZ] Add missing high-word facility instructions 2017-06-30 12:56:29 +00:00
ELF Add a common error checking for some invalid expressions. 2017-06-22 17:25:35 +00:00
Hexagon [Hexagon] Handle a global operand to A2_addi when creating duplexes 2017-06-22 15:53:31 +00:00
Lanai [lanai] Add more tests for assembly of conditional ALU ops 2016-07-11 17:58:16 +00:00
MachO IR: Replace the "Linker Options" module flag with "llvm.linker.options" named metadata. 2017-06-12 20:10:48 +00:00
Markup
Mips [MIPS] Handle PIC load address macro instructions in N64. 2017-06-30 15:44:27 +00:00
PowerPC [Power9] Added support for the modsw, moduw, modsd, modud hardware instructions. 2017-06-12 17:58:42 +00:00
Sparc [Sparc] Remove execute permissions from non-executable text files 2017-05-17 11:05:20 +00:00
SystemZ [SystemZ] Add missing high-word facility instructions 2017-06-30 12:56:29 +00:00
WebAssembly [WebAssembly] Add data size and alignement to linking section 2017-06-27 20:27:59 +00:00
X86 Fix PR33625. 2017-06-28 17:56:07 +00:00