[all-commits] [llvm/llvm-project] f3471d: [llvm-objcopy] Preserve ARM and AArch64 mapping sy...

Igor Kudrin via All-commits all-commits at lists.llvm.org
Tue Jan 18 23:43:36 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f3471dc517696b3dcd9a3f3c2c0642dfff499776
      https://github.com/llvm/llvm-project/commit/f3471dc517696b3dcd9a3f3c2c0642dfff499776
  Author: Igor Kudrin <ikudrin at accesssoftek.com>
  Date:   2022-01-19 (Wed, 19 Jan 2022)

  Changed paths:
    A llvm/test/tools/llvm-objcopy/ELF/strip-unneeded-aarch64.test
    A llvm/test/tools/llvm-objcopy/ELF/strip-unneeded-arm.test
    M llvm/tools/llvm-objcopy/ELF/ELFObjcopy.cpp

  Log Message:
  -----------
  [llvm-objcopy] Preserve ARM and AArch64 mapping symbols

Mapping symbols are required by ARM/AArch64 ELF ABI. They help to
disassemble files correctly and are also used in linkers. Nonetheless,
for executable files, the symbols can be stripped to better resemble
the behavior of GNU's objcopy.

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




More information about the All-commits mailing list