[all-commits] [llvm/llvm-project] b8dfac: [ELF] -r: rename orphan SHT_REL/SHT_RELA when the ...

Fangrui Song via All-commits all-commits at lists.llvm.org
Fri Nov 17 22:38:42 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b8dface221f4490933b0d39deb769e97ca134e5f
      https://github.com/llvm/llvm-project/commit/b8dface221f4490933b0d39deb769e97ca134e5f
  Author: Fangrui Song <i at maskray.me>
  Date:   2023-11-17 (Fri, 17 Nov 2023)

  Changed paths:
    M lld/ELF/LinkerScript.cpp
    M lld/test/ELF/linkerscript/emit-reloc-section-names.s
    M lld/test/ELF/linkerscript/emit-relocs-multiple.s

  Log Message:
  -----------
  [ELF] -r: rename orphan SHT_REL/SHT_RELA when the relocated input section is placed in an output section

This ports https://reviews.llvm.org/D40652 (--emit-relocs) to -r and
matches GNU ld.
Close #67910




More information about the All-commits mailing list