aboutsummaryrefslogtreecommitdiff
path: root/lld/test/ELF/linkerscript/align1.test
diff options
context:
space:
mode:
Diffstat (limited to 'lld/test/ELF/linkerscript/align1.test')
-rw-r--r--lld/test/ELF/linkerscript/align1.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/lld/test/ELF/linkerscript/align1.test b/lld/test/ELF/linkerscript/align1.test
index bc3a89cbbcca..e7b65fc75ffe 100644
--- a/lld/test/ELF/linkerscript/align1.test
+++ b/lld/test/ELF/linkerscript/align1.test
@@ -1,7 +1,7 @@
# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %p/Inputs/align.s -o %t.o
# RUN: ld.lld -o %t --script %s %t.o
-# RUN: llvm-objdump -section-headers %t | FileCheck %s
+# RUN: llvm-objdump --section-headers %t | FileCheck %s
SECTIONS {
. = 0x10000;
@@ -22,7 +22,7 @@ SECTIONS {
## Check that ALIGN zero do nothing and does not crash #1.
# RUN: echo "SECTIONS { . = ALIGN(0x123, 0); .aaa : { *(.aaa) } }" > %t.script
# RUN: ld.lld -o %t4 --script %t.script %t.o
-# RUN: llvm-objdump -section-headers %t4 | FileCheck %s -check-prefix=ZERO
+# RUN: llvm-objdump --section-headers %t4 | FileCheck %s --check-prefix=ZERO
# ZERO: Sections:
# ZERO-NEXT: Idx Name Size VMA Type
@@ -32,7 +32,7 @@ SECTIONS {
## Check that ALIGN zero do nothing and does not crash #2.
# RUN: echo "SECTIONS { . = 0x123; . = ALIGN(0); .aaa : { *(.aaa) } }" > %t.script
# RUN: ld.lld -o %t5 --script %t.script %t.o
-# RUN: llvm-objdump -section-headers %t5 | FileCheck %s -check-prefix=ZERO
+# RUN: llvm-objdump --section-headers %t5 | FileCheck %s --check-prefix=ZERO
## Test we fail gracefuly when alignment value is not a power of 2 (#1).
# RUN: echo "SECTIONS { . = 0x123; . = ALIGN(0x123, 3); .aaa : { *(.aaa) } }" > %t.script