summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-objcopy/ELF/binary-input-with-arch.test
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2019-09-25 03:41:01 +0000
committerFangrui Song <maskray@google.com>2019-09-25 03:41:01 +0000
commitf2bbfa05fe66d9799f9a968dd48bd0b557b9ba77 (patch)
tree9490def160bfc540371924d000f029288bc143f4 /llvm/test/tools/llvm-objcopy/ELF/binary-input-with-arch.test
parent0264950697e54505e5fd266b364c83e294fc86d9 (diff)
downloadbcm5719-llvm-f2bbfa05fe66d9799f9a968dd48bd0b557b9ba77.tar.gz
bcm5719-llvm-f2bbfa05fe66d9799f9a968dd48bd0b557b9ba77.zip
[llvm-objcopy][test] Clean up -B tests
-B is ignored for GNU objcopy compatibility after D67215/r371914. * Delete mentions of -B from input-output-target.test - we have enough -B tests. * Merge binary-input-with-arch.test into binary-output-target.test. Reviewed By: rupprecht Differential Revision: https://reviews.llvm.org/D67693 llvm-svn: 372809
Diffstat (limited to 'llvm/test/tools/llvm-objcopy/ELF/binary-input-with-arch.test')
-rw-r--r--llvm/test/tools/llvm-objcopy/ELF/binary-input-with-arch.test26
1 files changed, 0 insertions, 26 deletions
diff --git a/llvm/test/tools/llvm-objcopy/ELF/binary-input-with-arch.test b/llvm/test/tools/llvm-objcopy/ELF/binary-input-with-arch.test
deleted file mode 100644
index ff2e82c6917..00000000000
--- a/llvm/test/tools/llvm-objcopy/ELF/binary-input-with-arch.test
+++ /dev/null
@@ -1,26 +0,0 @@
-# RUN: echo -n abcd > %t.x-txt
-# Preserve input to verify it is not modified.
-# RUN: cp %t.x-txt %t-copy.txt
-# RUN: llvm-objcopy -I binary -B i386 -O elf64-x86-64 %t.x-txt %t.o
-# RUN: llvm-readobj --file-headers %t.o | FileCheck %s --check-prefixes=CHECK,SYSV
-# RUN: cmp %t.x-txt %t-copy.txt
-
-# Many uses of objcopy use no spaces in the flags, make sure that also works.
-# RUN: llvm-objcopy -Ibinary -Bi386 -Oelf64-x86-64 %t.x-txt %t-no-spaces.o
-# RUN: cmp %t.o %t-no-spaces.o
-
-# elf64-x86-64-freebsd sets the OS/ABI field.
-# RUN: llvm-objcopy -I binary -B i386 -O elf64-x86-64-freebsd %t.x-txt %t.freebsd.o
-# RUN: llvm-readobj --file-headers %t.freebsd.o | FileCheck %s --check-prefixes=CHECK,FREEBSD
-
-# CHECK: Format: ELF64-x86-64
-# CHECK-NEXT: Arch: x86_64
-# CHECK-NEXT: AddressSize: 64bit
-
-# CHECK: Class: 64-bit
-# CHECK: DataEncoding: LittleEndian
-# SYSV: OS/ABI: SystemV
-# FREEBSD: OS/ABI: FreeBSD
-# CHECK: Machine: EM_X86_64
-# CHECK: HeaderSize: 64
-# CHECK: SectionHeaderEntrySize: 64
OpenPOWER on IntegriCloud