[all-commits] [llvm/llvm-project] 572d18: [ELF] Add TargetInfo::adjustGotPcExpr for `R_GOT_P...

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed Nov 25 08:48:20 PST 2020


  Branch: refs/heads/temp-test-main
  Home:   https://github.com/llvm/llvm-project
  Commit: 572d18397cf0d8808ec85f9bd51471cd80266c27
      https://github.com/llvm/llvm-project/commit/572d18397cf0d8808ec85f9bd51471cd80266c27
  Author: Fangrui Song <i at maskray.me>
  Date:   2020-11-25 (Wed, 25 Nov 2020)

  Changed paths:
    M lld/ELF/Arch/PPC64.cpp
    M lld/ELF/Arch/X86_64.cpp
    M lld/ELF/Relocations.cpp
    M lld/ELF/Target.cpp
    M lld/ELF/Target.h

  Log Message:
  -----------
  [ELF] Add TargetInfo::adjustGotPcExpr for `R_GOT_PC` relaxations. NFC

With this change, `TargetInfo::adjustRelaxExpr` is only related to TLS
relaxations and a subsequent clean-up can delete the `data` parameter.

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




More information about the All-commits mailing list