[all-commits] [llvm/llvm-project] 21dbfd: [ELF] --gc-sections: Change startwith(".init") (an...

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed Dec 15 01:16:39 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 21dbfd430021cc8f4270daaec15897b023a5cacc
      https://github.com/llvm/llvm-project/commit/21dbfd430021cc8f4270daaec15897b023a5cacc
  Author: Fangrui Song <i at maskray.me>
  Date:   2021-12-15 (Wed, 15 Dec 2021)

  Changed paths:
    M lld/ELF/MarkLive.cpp
    M lld/test/ELF/gc-sections.s

  Log Message:
  -----------
  [ELF] --gc-sections: Change startwith(".init") (and ".fini") to exact match

GNU ld's internal linker script keeps `.init`, but not other sections starting
with `.init`. .fini is similar.




More information about the All-commits mailing list