[PATCH] D117233: [llvm-objcopy] Preserve ARM and AArch64 mapping symbols
Igor Kudrin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 13 09:01:54 PST 2022
ikudrin created this revision.
ikudrin added reviewers: dblaikie, jhenderson, MaskRay.
ikudrin added a project: LLVM.
Herald added subscribers: abrachet, kristof.beyls, emaste.
Herald added a reviewer: alexander-shaposhnikov.
Herald added a reviewer: rupprecht.
ikudrin requested review of this revision.
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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D117233
Files:
llvm/test/tools/llvm-objcopy/ELF/strip-unneeded-aarch64.test
llvm/test/tools/llvm-objcopy/ELF/strip-unneeded-arm.test
llvm/tools/llvm-objcopy/ELF/ELFObjcopy.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117233.399692.patch
Type: text/x-patch
Size: 6296 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220113/60841912/attachment.bin>
More information about the llvm-commits
mailing list