[all-commits] [llvm/llvm-project] 40cd4d: [ELF] Default gotBaseSymInGotPlt to false (NFC for...

Fangrui Song via All-commits all-commits at lists.llvm.org
Sat Sep 25 15:06:22 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 40cd4db442994e2bac6704e34580246c1d0bd91d
      https://github.com/llvm/llvm-project/commit/40cd4db442994e2bac6704e34580246c1d0bd91d
  Author: Fangrui Song <i at maskray.me>
  Date:   2021-09-25 (Sat, 25 Sep 2021)

  Changed paths:
    M lld/ELF/Arch/AArch64.cpp
    M lld/ELF/Arch/ARM.cpp
    M lld/ELF/Arch/Hexagon.cpp
    M lld/ELF/Arch/Mips.cpp
    M lld/ELF/Arch/PPC.cpp
    M lld/ELF/Arch/PPC64.cpp
    M lld/ELF/Arch/RISCV.cpp
    M lld/ELF/Arch/X86.cpp
    M lld/ELF/Arch/X86_64.cpp
    M lld/ELF/Target.h

  Log Message:
  -----------
  [ELF] Default gotBaseSymInGotPlt to false (NFC for most architectures)

Most architectures use .got instead of .got.plt, so switching the default can
minimize customization.

This fixes an issue for SPARC V9 which uses .got .
AVR, AMDGPU, and MSP430 don't seem to use _GLOBAL_OFFSET_TABLE_.




More information about the All-commits mailing list