From fa3231eb1810500a4d34d9daa6403dae4f5921b8 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Fri, 16 Jul 2021 13:28:46 -0700 Subject: [PATCH] [COFF][test] Fix llvm-readobj tests --- lld/test/COFF/secidx-absolute.s | 2 +- lld/test/COFF/secrel-common.s | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lld/test/COFF/secidx-absolute.s b/lld/test/COFF/secidx-absolute.s index 8befaf2..7d3b4b2 100644 --- a/lld/test/COFF/secidx-absolute.s +++ b/lld/test/COFF/secidx-absolute.s @@ -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. diff --git a/lld/test/COFF/secrel-common.s b/lld/test/COFF/secrel-common.s index 0d3aafc..6155634 100644 --- a/lld/test/COFF/secrel-common.s +++ b/lld/test/COFF/secrel-common.s @@ -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). -- 2.7.4