llvm-project/llvm/lib/Target/X86/MCTargetDesc
Harald van Dijk adc55b5a5a
[X86] Avoid generating invalid R_X86_64_GOTPCRELX relocations
We need to make sure not to emit R_X86_64_GOTPCRELX relocations for
instructions that use a REX prefix. If a REX prefix is present, we need to
instead use a R_X86_64_REX_GOTPCRELX relocation. The existing logic for
CALL64m, JMP64m, etc. already handles this by checking the HasREX parameter
and using it to determine which relocation type to use. Do this for all
instructions that can use relaxed relocations.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D93561
2020-12-18 23:38:38 +00:00
..
CMakeLists.txt llvmbuildectomy - replace llvm-build by plain cmake 2020-11-13 10:35:24 +01:00
X86ATTInstPrinter.cpp [llvm-objdump] Symbolize binary addresses for low-noisy asm diff. 2020-08-17 16:55:12 -07:00
X86ATTInstPrinter.h [AsmWriter] Factor out mnemonic generation to accessible getMnemonic. 2020-11-17 09:47:38 +00:00
X86AsmBackend.cpp [X86] Cleanup/add namespace closure comments. NFCI. 2020-09-22 15:06:58 +01:00
X86BaseInfo.h [X86] Support Intel avxvnni 2020-10-31 12:39:51 +08:00
X86ELFObjectWriter.cpp [X86] Support modifier @PLTOFF for R_X86_64_PLTOFF64 2020-12-01 08:39:01 -08:00
X86FixupKinds.h
X86InstComments.cpp [X86] Move X86ShuffleDecode.cpp/h into MCTargetDesc and remove X86Utils library. NFC 2020-04-13 10:14:08 -07:00
X86InstComments.h
X86InstPrinterCommon.cpp [X86] Support Intel avxvnni 2020-10-31 12:39:51 +08:00
X86InstPrinterCommon.h
X86IntelInstPrinter.cpp [llvm-objdump] Symbolize binary addresses for low-noisy asm diff. 2020-08-17 16:55:12 -07:00
X86IntelInstPrinter.h [AsmWriter] Factor out mnemonic generation to accessible getMnemonic. 2020-11-17 09:47:38 +00:00
X86MCAsmInfo.cpp [MC] Default MCAsmInfo::UseIntegratedAssembler to true 2020-04-11 10:13:52 -07:00
X86MCAsmInfo.h X86MCAsmInfo.h - remove unnecessary MCAsmInfo.h include. NFC. 2020-04-20 11:39:38 +01:00
X86MCCodeEmitter.cpp [X86] Avoid generating invalid R_X86_64_GOTPCRELX relocations 2020-12-18 23:38:38 +00:00
X86MCExpr.h
X86MCTargetDesc.cpp [X86][MC][Target] Initial backend support a tune CPU to support -mtune 2020-08-14 15:31:50 -07:00
X86MCTargetDesc.h [X86] X86MCTargetDesc - ensure the declaration/definition variable names match. NFCI. 2020-10-31 11:50:00 +00:00
X86MachObjectWriter.cpp [X86] Cleanup/add namespace closure comments. NFCI. 2020-09-22 15:06:58 +01:00
X86ShuffleDecode.cpp [X86] Cleanup/add namespace closure comments. NFCI. 2020-09-22 15:06:58 +01:00
X86ShuffleDecode.h [X86] Move X86ShuffleDecode.cpp/h into MCTargetDesc and remove X86Utils library. NFC 2020-04-13 10:14:08 -07:00
X86TargetStreamer.h
X86WinCOFFObjectWriter.cpp
X86WinCOFFStreamer.cpp Reapply "[CodeGen] [WinException] Only produce handler data at the end of the function if needed" 2020-11-23 23:17:03 +02:00
X86WinCOFFTargetStreamer.cpp