1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 12:33:33 +02:00
llvm-mirror/lib/Target/X86/MCTargetDesc
Fangrui Song 5fc4e7a80f [MC] [X86] Teach leaq _GLOBAL_OFFSET_TABLE(%rip), %r15 to use R_X86_64_GOTPC32 instead of R_X86_64_PC32
Summary:
This is similar to D46319 (ARM). x86-64 psABI p40 gives an example:

  leaq _GLOBAL_OFFSET_TABLE(%rip), %r15 # GOTPC32 reloc

GNU as creates R_X86_64_GOTPC32. However, MC currently emits R_X86_64_PC32.

Reviewers: javed.absar, echristo

Subscribers: kristof.beyls, llvm-commits, peter.smith, grimar

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

llvm-svn: 334515
2018-06-12 16:20:44 +00:00
..
CMakeLists.txt [codeview] Implement FPO data assembler directives 2017-10-11 21:24:33 +00:00
LLVMBuild.txt
X86AsmBackend.cpp [MC] Pass MCSubtargetInfo to fixupNeedsRelaxation and applyFixup 2018-06-06 09:40:06 +00:00
X86BaseInfo.h [X86] Remove OpSizeIgnore, it's not implemented any differently than OpSizeFixed. 2018-04-22 01:24:58 +00:00
X86ELFObjectWriter.cpp MC: Separate creating a generic object writer from creating a target object writer. NFCI. 2018-05-21 19:20:29 +00:00
X86FixupKinds.h [llvm-mc] - Produce R_X86_64_PLT32 for "call/jmp foo". 2018-02-20 10:17:57 +00:00
X86MachObjectWriter.cpp MC: Separate creating a generic object writer from creating a target object writer. NFCI. 2018-05-21 19:20:29 +00:00
X86MCAsmInfo.cpp Remove redundant includes from lib/Target/X86. 2017-12-13 21:31:19 +00:00
X86MCAsmInfo.h
X86MCCodeEmitter.cpp [MC] [X86] Teach leaq _GLOBAL_OFFSET_TABLE(%rip), %r15 to use R_X86_64_GOTPC32 instead of R_X86_64_PC32 2018-06-12 16:20:44 +00:00
X86MCExpr.h [MC][X86] Allow assembler variable assignment to register name. 2018-06-05 15:13:39 +00:00
X86MCTargetDesc.cpp [CodeView] Add prefix to CodeView registers. 2018-05-29 14:35:34 +00:00
X86MCTargetDesc.h MC: Separate creating a generic object writer from creating a target object writer. NFCI. 2018-05-21 19:20:29 +00:00
X86TargetStreamer.h [codeview] Implement FPO data assembler directives 2017-10-11 21:24:33 +00:00
X86WinCOFFObjectWriter.cpp MC: Separate creating a generic object writer from creating a target object writer. NFCI. 2018-05-21 19:20:29 +00:00
X86WinCOFFStreamer.cpp MC: Change the streamer ctors to take an object writer instead of a stream. NFCI. 2018-05-18 18:26:45 +00:00
X86WinCOFFTargetStreamer.cpp [codeview] Implement FPO data assembler directives 2017-10-11 21:24:33 +00:00