[all-commits] [llvm/llvm-project] 9f65f5: [LLD][ELF] Eliminate symbols of merged .ARM.exidx ...

Igor Kudrin via All-commits all-commits at lists.llvm.org
Tue Apr 28 05:02:40 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9f65f5acca1926f6175fee5ec9ea277a42904c57
      https://github.com/llvm/llvm-project/commit/9f65f5acca1926f6175fee5ec9ea277a42904c57
  Author: Igor Kudrin <ikudrin at accesssoftek.com>
  Date:   2020-04-28 (Tue, 28 Apr 2020)

  Changed paths:
    M lld/ELF/Writer.cpp
    A lld/test/ELF/arm-exidx-mapping-symbols.s

  Log Message:
  -----------
  [LLD][ELF] Eliminate symbols of merged .ARM.exidx sections.

GNU tools generate mapping symbols "$d" for .ARM.exidx sections. The
symbols are added to the symbol table much earlier than the merging
takes place, and after that, they become dangling. Before the patch,
LLD output those symbols as SHN_ABS with the value of 0. The patch
removes such symbols from the symbol table.

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




More information about the All-commits mailing list