[all-commits] [llvm/llvm-project] 37c7f0: [ELF] --orphan-handling=: don't warn/error for inp...

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed Feb 26 10:33:02 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 37c7f0d9456b3ff4a87829ad842823da6aa2401f
      https://github.com/llvm/llvm-project/commit/37c7f0d9456b3ff4a87829ad842823da6aa2401f
  Author: Fangrui Song <maskray at google.com>
  Date:   2020-02-26 (Wed, 26 Feb 2020)

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

  Log Message:
  -----------
  [ELF] --orphan-handling=: don't warn/error for input SHT_REL[A] retained by --emit-relocs

They are purposefully skipped by input section descriptions (rL295324).
Similarly, --orphan-handling= should not warn/error for them.
This behavior matches GNU ld.

Reviewed By: grimar

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




More information about the All-commits mailing list