Fixed llvm-objcopy to add correct symbol table for ELF with program headers.
authorAlex Orlov <aorlov@accesssoftek.com>
Wed, 12 May 2021 08:39:30 +0000 (12:39 +0400)
committerAlex Orlov <aorlov@accesssoftek.com>
Wed, 12 May 2021 08:39:30 +0000 (12:39 +0400)
commitd8e65585f7c7cddd63920d122a9e6368d91c9389
tree417df711b986f45a36732570ae3e17cbb9cfcba1
parent44642505ce6be476124575f1589552bd53a6fdeb
Fixed llvm-objcopy to add correct symbol table for ELF with program headers.

This fixes the following bugs:
https://bugs.llvm.org/show_bug.cgi?id=43935

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D102258
llvm/test/tools/llvm-objcopy/ELF/add-symbol-no-symtab.test
llvm/tools/llvm-objcopy/ELF/Object.cpp