summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-objcopy/ELF/sectionless-segment.test
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/tools/llvm-objcopy/ELF/sectionless-segment.test')
-rw-r--r--llvm/test/tools/llvm-objcopy/ELF/sectionless-segment.test4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-objcopy/ELF/sectionless-segment.test b/llvm/test/tools/llvm-objcopy/ELF/sectionless-segment.test
new file mode 100644
index 00000000000..054e84f6066
--- /dev/null
+++ b/llvm/test/tools/llvm-objcopy/ELF/sectionless-segment.test
@@ -0,0 +1,4 @@
+# RUN: llvm-objcopy -O binary %p/Inputs/pt-phdr.elf %t
+# RUN: wc -c < %t | FileCheck %s
+
+# CHECK: 4110
OpenPOWER on IntegriCloud