[all-commits] [llvm/llvm-project] 152d14: [MC][X86] Make .reloc support arbitrary relocation...

Fangrui Song via All-commits all-commits at lists.llvm.org
Fri Mar 27 13:33:23 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 152d14da64c2e906974822c084e2a79c1e970c1d
      https://github.com/llvm/llvm-project/commit/152d14da64c2e906974822c084e2a79c1e970c1d
  Author: Fangrui Song <maskray at google.com>
  Date:   2020-03-27 (Fri, 27 Mar 2020)

  Changed paths:
    M llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86ELFObjectWriter.cpp
    M llvm/test/MC/X86/reloc-directive-elf-32.s
    M llvm/test/MC/X86/reloc-directive-elf-64.s

  Log Message:
  -----------
  [MC][X86] Make .reloc support arbitrary relocation types

Generalizes D62014 (R_386_NONE/R_X86_64_NONE).

Unlike ARM (D76746) and AArch64 (D76754), we cannot delete FK_NONE from
getFixupKindSize because FK_NONE is still used by R_386_TLS_DESC_CALL/R_X86_64_TLSDESC_CALL.




More information about the All-commits mailing list