[all-commits] [llvm/llvm-project] 57bfa2: [ELF] Delete unused --warn-ifunc-textrel

Fangrui Song via All-commits all-commits at lists.llvm.org
Tue Feb 2 09:47:28 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 57bfa2ddb6bf1f1814295a2423258fdd46cb702c
      https://github.com/llvm/llvm-project/commit/57bfa2ddb6bf1f1814295a2423258fdd46cb702c
  Author: Fangrui Song <i at maskray.me>
  Date:   2021-02-02 (Tue, 02 Feb 2021)

  Changed paths:
    M lld/ELF/Config.h
    M lld/ELF/Driver.cpp
    M lld/ELF/Relocations.cpp
    R lld/test/ELF/textrel.s

  Log Message:
  -----------
  [ELF] Delete unused --warn-ifunc-textrel

The option catches incompatibility between `R_*_IRELATIVE` and DT_TEXTREL/DF_TEXTREL
before glibc 2.29. Newer glibc versions are more common nowadays and I don't
think this option has ever been used. Diagnosing this problem is also
straightforward by reading the stack trace.




More information about the All-commits mailing list