[COFF][test] Fix llvm-readobj tests
authorFangrui Song <i@maskray.me>
Fri, 16 Jul 2021 20:28:46 +0000 (13:28 -0700)
committerFangrui Song <i@maskray.me>
Fri, 16 Jul 2021 20:28:46 +0000 (13:28 -0700)
lld/test/COFF/secidx-absolute.s
lld/test/COFF/secrel-common.s

index 8befaf2..7d3b4b2 100644 (file)
@@ -1,7 +1,7 @@
 # REQUIRES: x86
 # RUN: llvm-mc %s -filetype=obj -triple=x86_64-windows-msvc -o %t.obj
 # RUN: lld-link -entry:main -nodefaultlib %t.obj -out:%t.exe
-# RUN: llvm-readobj %t.exe -sections -section-data | FileCheck %s
+# RUN: llvm-readobj %t.exe --sections --section-data | FileCheck %s
 
 # Section relocations against absolute symbols resolve to the last real output
 # section index plus one.
index 0d3aafc..6155634 100644 (file)
@@ -1,7 +1,7 @@
 # REQUIRES: x86
 # RUN: llvm-mc %s -filetype=obj -triple=x86_64-windows-msvc -o %t.obj
 # RUN: lld-link -entry:main -nodefaultlib %t.obj -out:%t.exe
-# RUN: llvm-readobj %t.exe -sections -section-data | FileCheck %s
+# RUN: llvm-readobj %t.exe --sections --section-data | FileCheck %s
 
 # Section relocations against common symbols resolve to .bss (merged into .data).