OSDN Git Service

Reland "[llvm-objcopy] Add support for .dynamic, .dynsym, and .dynstr"
authorJake Ehrlich <jakehehrlich@google.com>
Wed, 20 Sep 2017 17:22:06 +0000 (17:22 +0000)
committerJake Ehrlich <jakehehrlich@google.com>
Wed, 20 Sep 2017 17:22:06 +0000 (17:22 +0000)
commit0ee89615039a4f99c96a5ef6b94a10caca598b27
tree5fbacbf7fed56555b7edd2ef8a251810dfd4e83d
parent46e0b67b99bcb1b2cf245c1aa1e83459c178bffe
Reland "[llvm-objcopy] Add support for .dynamic, .dynsym, and .dynstr"

I did not upload two binaries that I reference in tests.

This change adds support for sections involved in dynamic loading such
as SHT_DYNAMIC, SHT_DYNSYM, and allocated string tables.

The two added binaries used for tests can be downloaded here and here

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313772 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-objcopy/Inputs/dynamic.so [new file with mode: 0644]
test/tools/llvm-objcopy/Inputs/dynsym.so [new file with mode: 0644]