[llvm-objcopy] - Stop using Inputs/alloc-symtab.o
authorGeorge Rimar <grimar@accesssoftek.com>
Tue, 30 Jul 2019 13:37:02 +0000 (13:37 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Tue, 30 Jul 2019 13:37:02 +0000 (13:37 +0000)
commit29a3a503c0972da515209b953124f352e22bdc46
tree05736077ae763673abe4b81dc2d0f52b28868c18
parent0b99518097c4b521bc52df71721633f1efc1cfd8
[llvm-objcopy] - Stop using Inputs/alloc-symtab.o

Initially Inputs/alloc-symtab.o was added in D42222.
It contains an allocatable .symtab section. Today
we are able to create such sections using yaml2obj.

Later people started using this input for no solid reason in their tests.
Now multiple of tests are using it.
(And those tests do not need such a specific case actually).

In this patch I removed this binary and rewrote the few tests.

Differential revision: https://reviews.llvm.org/D65278

llvm-svn: 367310
llvm/test/tools/llvm-objcopy/ELF/Inputs/alloc-symtab.o [deleted file]
llvm/test/tools/llvm-objcopy/ELF/binary-out-error.test
llvm/test/tools/llvm-objcopy/ELF/invalid-preserve-dates.test
llvm/test/tools/llvm-objcopy/ELF/standard-streams.test
llvm/test/tools/llvm-objcopy/ELF/strict-no-add.test