summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-objcopy/ELF/input-output-target.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/input-output-target.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/input-output-target.test')
-rw-r--r--llvm/test/tools/llvm-objcopy/ELF/input-output-target.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/test/tools/llvm-objcopy/ELF/input-output-target.test b/llvm/test/tools/llvm-objcopy/ELF/input-output-target.test
index 0661aca7bc9..fba52d029c5 100644
--- a/llvm/test/tools/llvm-objcopy/ELF/input-output-target.test
+++ b/llvm/test/tools/llvm-objcopy/ELF/input-output-target.test
@@ -4,18 +4,18 @@
# RUN: cp %t.txt %t-copy.txt
# -F <target> is equivalent to -I <target> -O <target>
-# RUN: llvm-objcopy -F binary -B i386:x86-64 %t.txt %t.2.txt
+# RUN: llvm-objcopy -F binary %t.txt %t.2.txt
# RUN: cmp %t-copy.txt %t.2.txt
# --target <target> is equivalent to --input-target <target> --output-target <target>
-# RUN: llvm-objcopy --target binary -B i386:x86-64 %t.txt %t.3.txt
+# RUN: llvm-objcopy --target binary %t.txt %t.3.txt
# RUN: cmp %t-copy.txt %t.3.txt
# --target is incompatibile with --input-target/--output-target
-# RUN: not llvm-objcopy --target binary --input-target binary -B i386:x86-64 \
+# RUN: not llvm-objcopy --target binary --input-target binary \
# RUN: %t.txt %t.4.txt 2>&1 \
# RUN: | FileCheck %s --check-prefix=BAD-FLAG
-# RUN: not llvm-objcopy --target binary --output-target binary -B i386:x86-64 \
+# RUN: not llvm-objcopy --target binary --output-target binary \
# RUN: %t.txt %t.4.txt 2>&1 \
# RUN: | FileCheck %s --check-prefix=BAD-FLAG
OpenPOWER on IntegriCloud