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)
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]

diff --git a/test/tools/llvm-objcopy/Inputs/dynamic.so b/test/tools/llvm-objcopy/Inputs/dynamic.so
new file mode 100644 (file)
index 0000000..cf5757d
Binary files /dev/null and b/test/tools/llvm-objcopy/Inputs/dynamic.so differ
diff --git a/test/tools/llvm-objcopy/Inputs/dynsym.so b/test/tools/llvm-objcopy/Inputs/dynsym.so
new file mode 100644 (file)
index 0000000..2f62627
Binary files /dev/null and b/test/tools/llvm-objcopy/Inputs/dynsym.so differ