[all-commits] [llvm/llvm-project] 4ae1c2: [ELF] Delete unneeded hack for discarding empty na...

Fangrui Song via All-commits all-commits at lists.llvm.org
Mon Oct 25 11:55:44 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4ae1c2c6f1b3a0085a0fb0909005e62da156e051
      https://github.com/llvm/llvm-project/commit/4ae1c2c6f1b3a0085a0fb0909005e62da156e051
  Author: Fangrui Song <i at maskray.me>
  Date:   2021-10-25 (Mon, 25 Oct 2021)

  Changed paths:
    M lld/ELF/Writer.cpp
    R lld/test/ELF/Inputs/discard-merge-unnamed.o
    R lld/test/ELF/discard-merge-unnamed.s

  Log Message:
  -----------
  [ELF] Delete unneeded hack for discarding empty name local symbol

This actually improves GNU ld compatibility.
Correct assemblers don't create such symbols.

Also simplify the code.




More information about the All-commits mailing list