summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/Mips
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/MC/Mips')
-rw-r--r--llvm/test/MC/Mips/addend.s2
-rw-r--r--llvm/test/MC/Mips/cfi-advance-loc.s4
-rw-r--r--llvm/test/MC/Mips/crc/module-crc.s2
-rw-r--r--llvm/test/MC/Mips/crc/module-nocrc.s2
-rw-r--r--llvm/test/MC/Mips/directive-ent.s4
-rw-r--r--llvm/test/MC/Mips/elf-bigendian.ll2
-rw-r--r--llvm/test/MC/Mips/elf-debug-section.s2
-rw-r--r--llvm/test/MC/Mips/elf_reginfo.s4
-rw-r--r--llvm/test/MC/Mips/end-directive.s2
-rw-r--r--llvm/test/MC/Mips/ginv/module-ginv.s2
-rw-r--r--llvm/test/MC/Mips/ginv/module-noginv.s2
-rw-r--r--llvm/test/MC/Mips/insn-directive.s2
-rw-r--r--llvm/test/MC/Mips/micromips-ase-directive.s2
-rw-r--r--llvm/test/MC/Mips/mips-cop0-reginfo.s2
-rw-r--r--llvm/test/MC/Mips/mips-data-directives.s2
-rw-r--r--llvm/test/MC/Mips/mips-pdr.s2
-rw-r--r--llvm/test/MC/Mips/mips-rdata.s2
-rw-r--r--llvm/test/MC/Mips/mips-reginfo-fp32.s2
-rw-r--r--llvm/test/MC/Mips/mips-reginfo-fp64.s6
-rw-r--r--llvm/test/MC/Mips/mips32/abiflags.s2
-rw-r--r--llvm/test/MC/Mips/mips32r2/abiflags.s2
-rw-r--r--llvm/test/MC/Mips/mips32r3/abiflags.s2
-rw-r--r--llvm/test/MC/Mips/mips32r5/abiflags.s2
-rw-r--r--llvm/test/MC/Mips/mips64/abiflags.s2
-rw-r--r--llvm/test/MC/Mips/mips64eb-fixups.s2
-rw-r--r--llvm/test/MC/Mips/mips64r2/abiflags.s2
-rw-r--r--llvm/test/MC/Mips/mips64r3/abiflags.s2
-rw-r--r--llvm/test/MC/Mips/mips64r5/abiflags.s2
-rw-r--r--llvm/test/MC/Mips/mips_abi_flags_xx.s8
-rw-r--r--llvm/test/MC/Mips/mips_abi_flags_xx_set.s2
-rw-r--r--llvm/test/MC/Mips/module-hardfloat.s2
-rw-r--r--llvm/test/MC/Mips/module-softfloat.s2
-rw-r--r--llvm/test/MC/Mips/msa/abiflags.s2
-rw-r--r--llvm/test/MC/Mips/mt/abiflag.s2
-rw-r--r--llvm/test/MC/Mips/mt/module-directive.s2
-rw-r--r--llvm/test/MC/Mips/mt/set-directive.s2
-rw-r--r--llvm/test/MC/Mips/nooddspreg-cmdarg.s2
-rw-r--r--llvm/test/MC/Mips/nooddspreg.s2
-rw-r--r--llvm/test/MC/Mips/oddspreg.s12
-rw-r--r--llvm/test/MC/Mips/reloc-directive.s6
-rw-r--r--llvm/test/MC/Mips/relocation-n64.s2
-rw-r--r--llvm/test/MC/Mips/relocation-xfail.s2
-rw-r--r--llvm/test/MC/Mips/relocation.s2
-rw-r--r--llvm/test/MC/Mips/section-size.s2
-rw-r--r--llvm/test/MC/Mips/sym-offset.ll2
-rw-r--r--llvm/test/MC/Mips/virt/module-novirt.s2
-rw-r--r--llvm/test/MC/Mips/virt/module-virt.s2
47 files changed, 62 insertions, 62 deletions
diff --git a/llvm/test/MC/Mips/addend.s b/llvm/test/MC/Mips/addend.s
index 93ce4f413ae..984f69cb796 100644
--- a/llvm/test/MC/Mips/addend.s
+++ b/llvm/test/MC/Mips/addend.s
@@ -1,5 +1,5 @@
# RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux -mcpu=mips32r6 %s -o %t.o
-# RUN: llvm-readobj -s -section-data %t.o | FileCheck %s
+# RUN: llvm-readobj -S --section-data %t.o | FileCheck %s
# CHECK: Name: .text
# CHECK-NEXT: Type:
diff --git a/llvm/test/MC/Mips/cfi-advance-loc.s b/llvm/test/MC/Mips/cfi-advance-loc.s
index c84e7e16237..4f5666ab33c 100644
--- a/llvm/test/MC/Mips/cfi-advance-loc.s
+++ b/llvm/test/MC/Mips/cfi-advance-loc.s
@@ -1,5 +1,5 @@
-// RUN: llvm-mc -filetype=obj -triple mipsel-pc-Linux-gnu %s -o - | llvm-readobj -s -sd | FileCheck %s -check-prefix=CHECK-LE
-// RUN: llvm-mc -filetype=obj -triple mips-pc-linux-gnu %s -o - | llvm-readobj -s -sd | FileCheck %s -check-prefix=CHECK-BE
+// RUN: llvm-mc -filetype=obj -triple mipsel-pc-Linux-gnu %s -o - | llvm-readobj -S --sd | FileCheck %s -check-prefix=CHECK-LE
+// RUN: llvm-mc -filetype=obj -triple mips-pc-linux-gnu %s -o - | llvm-readobj -S --sd | FileCheck %s -check-prefix=CHECK-BE
// test that this produces a correctly encoded cfi_advance_loc for both endians.
diff --git a/llvm/test/MC/Mips/crc/module-crc.s b/llvm/test/MC/Mips/crc/module-crc.s
index 6d00c52e902..92c428e67ff 100644
--- a/llvm/test/MC/Mips/crc/module-crc.s
+++ b/llvm/test/MC/Mips/crc/module-crc.s
@@ -3,7 +3,7 @@
#
# RUN: llvm-mc %s -triple=mips-unknown-linux-gnu -mcpu=mips32r6 \
# RUN: -filetype=obj -o - | \
-# RUN: llvm-readobj -mips-abi-flags - | \
+# RUN: llvm-readobj --mips-abi-flags - | \
# RUN: FileCheck %s -check-prefix=CHECK-OBJ
# CHECK-ASM: .module crc
diff --git a/llvm/test/MC/Mips/crc/module-nocrc.s b/llvm/test/MC/Mips/crc/module-nocrc.s
index 19020570ac9..c67279194c8 100644
--- a/llvm/test/MC/Mips/crc/module-nocrc.s
+++ b/llvm/test/MC/Mips/crc/module-nocrc.s
@@ -2,7 +2,7 @@
# RUN: FileCheck %s -check-prefix=CHECK-ASM
#
# RUN: llvm-mc %s -arch=mips -mcpu=mips32r6 -filetype=obj -o - -mattr=+crc | \
-# RUN: llvm-readobj -mips-abi-flags - | \
+# RUN: llvm-readobj --mips-abi-flags - | \
# RUN: FileCheck %s -check-prefix=CHECK-OBJ
# CHECK-ASM: .module nocrc
diff --git a/llvm/test/MC/Mips/directive-ent.s b/llvm/test/MC/Mips/directive-ent.s
index fa15b4eb9c8..4271c046c0e 100644
--- a/llvm/test/MC/Mips/directive-ent.s
+++ b/llvm/test/MC/Mips/directive-ent.s
@@ -4,14 +4,14 @@
# RUN: llvm-mc -mcpu=mips32 -triple mips-unknown-unknown %s | \
# RUN: FileCheck -check-prefix=ASM %s
# RUN: llvm-mc -filetype=obj -mcpu=mips32 -triple mips-unknown-unknown %s | \
-# RUN: llvm-readobj -symbols | \
+# RUN: llvm-readobj --symbols | \
# RUN: FileCheck -check-prefixes=OBJ,OBJ-32 %s
#
# RUN: llvm-mc -mcpu=mips32 -mattr=micromips -triple mips-unknown-unknown %s | \
# RUN: FileCheck -check-prefix=ASM %s
# RUN: llvm-mc -filetype=obj -mcpu=mips32 -mattr=micromips \
# RUN: -triple mips-unknown-unknown %s | \
-# RUN: llvm-readobj -symbols | \
+# RUN: llvm-readobj --symbols | \
# RUN: FileCheck -check-prefixes=OBJ,OBJ-MM %s
#
.ent a
diff --git a/llvm/test/MC/Mips/elf-bigendian.ll b/llvm/test/MC/Mips/elf-bigendian.ll
index 4990f4e5b75..cbabd537bd6 100644
--- a/llvm/test/MC/Mips/elf-bigendian.ll
+++ b/llvm/test/MC/Mips/elf-bigendian.ll
@@ -1,4 +1,4 @@
-; DISABLE: llc -filetype=obj -mtriple mips-unknown-linux %s -o - | llvm-readobj -h -s -sd | FileCheck %s
+; DISABLE: llc -filetype=obj -mtriple mips-unknown-linux %s -o - | llvm-readobj -h -S --sd | FileCheck %s
; RUN: false
; XFAIL: *
diff --git a/llvm/test/MC/Mips/elf-debug-section.s b/llvm/test/MC/Mips/elf-debug-section.s
index 6cc901bcb59..8e936f7bac5 100644
--- a/llvm/test/MC/Mips/elf-debug-section.s
+++ b/llvm/test/MC/Mips/elf-debug-section.s
@@ -1,5 +1,5 @@
# RUN: llvm-mc -filetype=obj -triple=mips-linux-gnu -g %s -o - \
-# RUN: | llvm-readobj -s | FileCheck %s
+# RUN: | llvm-readobj -S | FileCheck %s
# CHECK: Section {
# CHECK: Name: .debug_line
diff --git a/llvm/test/MC/Mips/elf_reginfo.s b/llvm/test/MC/Mips/elf_reginfo.s
index 8a4ed3b9694..ea6e39601ef 100644
--- a/llvm/test/MC/Mips/elf_reginfo.s
+++ b/llvm/test/MC/Mips/elf_reginfo.s
@@ -2,9 +2,9 @@
# corresponding options (-mabi=64 -> -mattr=+n64 for example).
# RUN: llvm-mc -filetype=obj -triple=mips64el-linux -target-abi n64 %s -o - \
-# RUN: | llvm-readobj -s | FileCheck --check-prefix=CHECK_64 %s
+# RUN: | llvm-readobj -S | FileCheck --check-prefix=CHECK_64 %s
# RUN: llvm-mc -filetype=obj -triple=mipsel %s -target-abi n32 -o - \
-# RUN: | llvm-readobj -s | FileCheck --check-prefix=CHECK_32 %s
+# RUN: | llvm-readobj -S | FileCheck --check-prefix=CHECK_32 %s
# Check for register information sections.
#
diff --git a/llvm/test/MC/Mips/end-directive.s b/llvm/test/MC/Mips/end-directive.s
index b2959409e66..a357b35b7be 100644
--- a/llvm/test/MC/Mips/end-directive.s
+++ b/llvm/test/MC/Mips/end-directive.s
@@ -1,5 +1,5 @@
# RUN: llvm-mc -arch=mips -mcpu=mips32 -filetype=obj %s -o - | \
-# RUN: llvm-readobj -symbols | FileCheck %s
+# RUN: llvm-readobj --symbols | FileCheck %s
# Check that the assembler doesn't choke on .align between a symbol and the
# .end directive.
diff --git a/llvm/test/MC/Mips/ginv/module-ginv.s b/llvm/test/MC/Mips/ginv/module-ginv.s
index 49f3aa5628e..07f1bc4d40e 100644
--- a/llvm/test/MC/Mips/ginv/module-ginv.s
+++ b/llvm/test/MC/Mips/ginv/module-ginv.s
@@ -3,7 +3,7 @@
#
# RUN: llvm-mc %s -triple=mips-unknown-linux-gnu -mcpu=mips32r6 \
# RUN: -filetype=obj -o - | \
-# RUN: llvm-readobj -mips-abi-flags - | \
+# RUN: llvm-readobj --mips-abi-flags - | \
# RUN: FileCheck %s -check-prefix=CHECK-OBJ
# CHECK-ASM: .module ginv
diff --git a/llvm/test/MC/Mips/ginv/module-noginv.s b/llvm/test/MC/Mips/ginv/module-noginv.s
index 86edb03c80a..2ed4fd9c314 100644
--- a/llvm/test/MC/Mips/ginv/module-noginv.s
+++ b/llvm/test/MC/Mips/ginv/module-noginv.s
@@ -2,7 +2,7 @@
# RUN: FileCheck %s -check-prefix=CHECK-ASM
#
# RUN: llvm-mc %s -arch=mips -mcpu=mips32r6 -filetype=obj -o - -mattr=+ginv | \
-# RUN: llvm-readobj -mips-abi-flags - | \
+# RUN: llvm-readobj --mips-abi-flags - | \
# RUN: FileCheck %s -check-prefix=CHECK-OBJ
# CHECK-ASM: .module noginv
diff --git a/llvm/test/MC/Mips/insn-directive.s b/llvm/test/MC/Mips/insn-directive.s
index f8cc1d6812d..b08fb02d52e 100644
--- a/llvm/test/MC/Mips/insn-directive.s
+++ b/llvm/test/MC/Mips/insn-directive.s
@@ -1,7 +1,7 @@
# RUN: llvm-mc %s -arch=mips -mcpu=mips32 | FileCheck %s --check-prefix=ASM
# RUN: llvm-mc %s -arch=mips -mcpu=mips32 -filetype=obj -o - | \
-# RUN: llvm-readobj -symbols - | FileCheck %s --check-prefix=OBJ
+# RUN: llvm-readobj --symbols - | FileCheck %s --check-prefix=OBJ
.set micromips
diff --git a/llvm/test/MC/Mips/micromips-ase-directive.s b/llvm/test/MC/Mips/micromips-ase-directive.s
index 8cdcdcc0c56..f3ac60057dc 100644
--- a/llvm/test/MC/Mips/micromips-ase-directive.s
+++ b/llvm/test/MC/Mips/micromips-ase-directive.s
@@ -1,5 +1,5 @@
# RUN: llvm-mc -triple=mips-unknown-linux -filetype=obj %s -o - | \
-# RUN: llvm-readobj -mips-abi-flags | \
+# RUN: llvm-readobj --mips-abi-flags | \
# RUN: FileCheck --check-prefix=ASE-MICROMIPS %s
.set micromips
diff --git a/llvm/test/MC/Mips/mips-cop0-reginfo.s b/llvm/test/MC/Mips/mips-cop0-reginfo.s
index b75b0171fa3..3b4c5afb2e0 100644
--- a/llvm/test/MC/Mips/mips-cop0-reginfo.s
+++ b/llvm/test/MC/Mips/mips-cop0-reginfo.s
@@ -1,5 +1,5 @@
# RUN: llvm-mc -triple mips-unknown-linux-gnu -mcpu=mips32r2 -filetype=obj %s -o - \
-# RUN: | llvm-readobj -sections -section-data - | FileCheck %s
+# RUN: | llvm-readobj --sections --section-data - | FileCheck %s
mfc0 $16, $15, 1
mfc0 $16, $16, 1
diff --git a/llvm/test/MC/Mips/mips-data-directives.s b/llvm/test/MC/Mips/mips-data-directives.s
index 390f463c7cb..1fbbc8be4d4 100644
--- a/llvm/test/MC/Mips/mips-data-directives.s
+++ b/llvm/test/MC/Mips/mips-data-directives.s
@@ -2,7 +2,7 @@
# RUN: FileCheck %s -check-prefix=CHECK-ASM
#
# RUN: llvm-mc %s -arch=mips -mcpu=mips32r2 -filetype=obj -o - | \
-# RUN: llvm-readobj -sections -section-data -section-relocations - | \
+# RUN: llvm-readobj --sections --section-data --section-relocations - | \
# RUN: FileCheck %s -check-prefix=CHECK-OBJ
# CHECK-ASM: .4byte 3735929054
diff --git a/llvm/test/MC/Mips/mips-pdr.s b/llvm/test/MC/Mips/mips-pdr.s
index b19dca3148d..267800ebcd5 100644
--- a/llvm/test/MC/Mips/mips-pdr.s
+++ b/llvm/test/MC/Mips/mips-pdr.s
@@ -2,7 +2,7 @@
# RUN: FileCheck %s -check-prefix=ASMOUT
# RUN: llvm-mc %s -arch=mips -mcpu=mips32r2 -filetype=obj -o - | \
-# RUN: llvm-readobj -s -section-data -r | \
+# RUN: llvm-readobj -S --section-data -r | \
# RUN: FileCheck %s -check-prefix=OBJOUT
# ASMOUT: .text
diff --git a/llvm/test/MC/Mips/mips-rdata.s b/llvm/test/MC/Mips/mips-rdata.s
index 89f96195297..d2d8aa8c14a 100644
--- a/llvm/test/MC/Mips/mips-rdata.s
+++ b/llvm/test/MC/Mips/mips-rdata.s
@@ -1,7 +1,7 @@
# Check that .rdata sections have proper name, flags, and section types.
# RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux %s -o - \
-# RUN: | llvm-readobj -s | FileCheck %s
+# RUN: | llvm-readobj -S | FileCheck %s
.rdata
.word 0
diff --git a/llvm/test/MC/Mips/mips-reginfo-fp32.s b/llvm/test/MC/Mips/mips-reginfo-fp32.s
index 5b31884ec16..6b7d94aa57a 100644
--- a/llvm/test/MC/Mips/mips-reginfo-fp32.s
+++ b/llvm/test/MC/Mips/mips-reginfo-fp32.s
@@ -1,5 +1,5 @@
# RUN: llvm-mc %s -arch=mips -mcpu=mips32r2 -filetype=obj -o - | \
-# RUN: llvm-readobj -s -section-data | \
+# RUN: llvm-readobj -S --section-data | \
# RUN: FileCheck %s
# CHECK: Section {
diff --git a/llvm/test/MC/Mips/mips-reginfo-fp64.s b/llvm/test/MC/Mips/mips-reginfo-fp64.s
index ba2bf797394..157801d3cec 100644
--- a/llvm/test/MC/Mips/mips-reginfo-fp64.s
+++ b/llvm/test/MC/Mips/mips-reginfo-fp64.s
@@ -1,13 +1,13 @@
# RUN: llvm-mc %s -arch=mips -mcpu=mips32r2 -mattr=+msa,+fp64 -filetype=obj -o - | \
-# RUN: llvm-readobj -s -section-data | \
+# RUN: llvm-readobj -S --section-data | \
# RUN: FileCheck %s -check-prefix=ELF32
# RUN: llvm-mc %s -arch=mips64 -mcpu=mips64r2 -mattr=+msa,+fp64 -target-abi n32 -filetype=obj -o - | \
-# RUN: llvm-readobj -s -section-data | \
+# RUN: llvm-readobj -S --section-data | \
# RUN: FileCheck %s -check-prefix=ELF32
# RUN: llvm-mc %s -arch=mips64 -mcpu=mips64r2 -mattr=+msa,+fp64 -target-abi n64 -filetype=obj -o - | \
-# RUN: llvm-readobj -s -section-data | \
+# RUN: llvm-readobj -S --section-data | \
# RUN: FileCheck %s -check-prefix=ELF64
# ELF32: Section {
diff --git a/llvm/test/MC/Mips/mips32/abiflags.s b/llvm/test/MC/Mips/mips32/abiflags.s
index c8d74c1b703..a64335b69ac 100644
--- a/llvm/test/MC/Mips/mips32/abiflags.s
+++ b/llvm/test/MC/Mips/mips32/abiflags.s
@@ -2,7 +2,7 @@
# RUN: FileCheck %s -check-prefix=CHECK-ASM
#
# RUN: llvm-mc %s -triple mips-unknown-linux-gnu -filetype=obj -o - | \
-# RUN: llvm-readobj -sections -section-data -section-relocations - | \
+# RUN: llvm-readobj --sections --section-data --section-relocations - | \
# RUN: FileCheck %s -check-prefix=CHECK-OBJ
# CHECK-ASM: .module fp=32
diff --git a/llvm/test/MC/Mips/mips32r2/abiflags.s b/llvm/test/MC/Mips/mips32r2/abiflags.s
index 200a8025e8d..46c54384f00 100644
--- a/llvm/test/MC/Mips/mips32r2/abiflags.s
+++ b/llvm/test/MC/Mips/mips32r2/abiflags.s
@@ -2,7 +2,7 @@
# RUN: FileCheck %s -check-prefix=CHECK-ASM
#
# RUN: llvm-mc %s -triple mips-unknown-linux-gnu -mcpu=mips32r2 -filetype=obj -o - | \
-# RUN: llvm-readobj -sections -section-data -section-relocations - | \
+# RUN: llvm-readobj --sections --section-data --section-relocations - | \
# RUN: FileCheck %s -check-prefix=CHECK-OBJ
# CHECK-ASM: .module fp=32
diff --git a/llvm/test/MC/Mips/mips32r3/abiflags.s b/llvm/test/MC/Mips/mips32r3/abiflags.s
index 4d691453262..92ca0058069 100644
--- a/llvm/test/MC/Mips/mips32r3/abiflags.s
+++ b/llvm/test/MC/Mips/mips32r3/abiflags.s
@@ -2,7 +2,7 @@
# RUN: FileCheck %s -check-prefix=CHECK-ASM
#
# RUN: llvm-mc %s -triple mips-unknown-linux-gnu -mcpu=mips32r3 -filetype=obj -o - | \
-# RUN: llvm-readobj -sections -section-data -section-relocations - | \
+# RUN: llvm-readobj --sections --section-data --section-relocations - | \
# RUN: FileCheck %s -check-prefix=CHECK-OBJ
# CHECK-ASM: .module fp=32
diff --git a/llvm/test/MC/Mips/mips32r5/abiflags.s b/llvm/test/MC/Mips/mips32r5/abiflags.s
index ab2a8579043..2e29338a7db 100644
--- a/llvm/test/MC/Mips/mips32r5/abiflags.s
+++ b/llvm/test/MC/Mips/mips32r5/abiflags.s
@@ -2,7 +2,7 @@
# RUN: FileCheck %s -check-prefix=CHECK-ASM
#
# RUN: llvm-mc %s -triple mips-unknown-linux-gnu -mcpu=mips32r5 -filetype=obj -o - | \
-# RUN: llvm-readobj -sections -section-data -section-relocations - | \
+# RUN: llvm-readobj --sections --section-data --section-relocations - | \
# RUN: FileCheck %s -check-prefix=CHECK-OBJ
# CHECK-ASM: .module fp=32
diff --git a/llvm/test/MC/Mips/mips64/abiflags.s b/llvm/test/MC/Mips/mips64/abiflags.s
index 10c768942a1..bccfa775ddb 100644
--- a/llvm/test/MC/Mips/mips64/abiflags.s
+++ b/llvm/test/MC/Mips/mips64/abiflags.s
@@ -2,7 +2,7 @@
# RUN: FileCheck %s -check-prefix=CHECK-ASM
#
# RUN: llvm-mc %s -arch=mips -mcpu=mips64 -target-abi n64 -filetype=obj -o - | \
-# RUN: llvm-readobj -sections -section-data -section-relocations - | \
+# RUN: llvm-readobj --sections --section-data --section-relocations - | \
# RUN: FileCheck %s -check-prefix=CHECK-OBJ
# CHECK-ASM: .module fp=64
diff --git a/llvm/test/MC/Mips/mips64eb-fixups.s b/llvm/test/MC/Mips/mips64eb-fixups.s
index 1ca8b0ae529..2de804d26e1 100644
--- a/llvm/test/MC/Mips/mips64eb-fixups.s
+++ b/llvm/test/MC/Mips/mips64eb-fixups.s
@@ -1,4 +1,4 @@
-# RUN: llvm-mc -filetype=obj -triple mips64eb-unknown-freebsd %s -o - | llvm-readobj -s -sd | FileCheck %s
+# RUN: llvm-mc -filetype=obj -triple mips64eb-unknown-freebsd %s -o - | llvm-readobj -S --sd | FileCheck %s
.section .fixups,"",@progbits
.byte 0xff
diff --git a/llvm/test/MC/Mips/mips64r2/abiflags.s b/llvm/test/MC/Mips/mips64r2/abiflags.s
index ece133f8f0e..799411d5afe 100644
--- a/llvm/test/MC/Mips/mips64r2/abiflags.s
+++ b/llvm/test/MC/Mips/mips64r2/abiflags.s
@@ -2,7 +2,7 @@
# RUN: FileCheck %s -check-prefix=CHECK-ASM
#
# RUN: llvm-mc %s -arch=mips -mcpu=mips64r2 -target-abi n64 -filetype=obj -o - | \
-# RUN: llvm-readobj -sections -section-data -section-relocations - | \
+# RUN: llvm-readobj --sections --section-data --section-relocations - | \
# RUN: FileCheck %s -check-prefix=CHECK-OBJ
# CHECK-ASM: .module fp=64
diff --git a/llvm/test/MC/Mips/mips64r3/abiflags.s b/llvm/test/MC/Mips/mips64r3/abiflags.s
index e1461ccb3cb..71da8e970be 100644
--- a/llvm/test/MC/Mips/mips64r3/abiflags.s
+++ b/llvm/test/MC/Mips/mips64r3/abiflags.s
@@ -2,7 +2,7 @@
# RUN: FileCheck %s -check-prefix=CHECK-ASM
#
# RUN: llvm-mc %s -arch=mips -mcpu=mips64r3 -target-abi n64 -filetype=obj -o - | \
-# RUN: llvm-readobj -sections -section-data -section-relocations - | \
+# RUN: llvm-readobj --sections --section-data --section-relocations - | \
# RUN: FileCheck %s -check-prefix=CHECK-OBJ
# CHECK-ASM: .module fp=64
diff --git a/llvm/test/MC/Mips/mips64r5/abiflags.s b/llvm/test/MC/Mips/mips64r5/abiflags.s
index 7972f5837de..71253eeb413 100644
--- a/llvm/test/MC/Mips/mips64r5/abiflags.s
+++ b/llvm/test/MC/Mips/mips64r5/abiflags.s
@@ -2,7 +2,7 @@
# RUN: FileCheck %s -check-prefix=CHECK-ASM
#
# RUN: llvm-mc %s -arch=mips -mcpu=mips64r5 -target-abi n64 -filetype=obj -o - | \
-# RUN: llvm-readobj -sections -section-data -section-relocations - | \
+# RUN: llvm-readobj --sections --section-data --section-relocations - | \
# RUN: FileCheck %s -check-prefix=CHECK-OBJ
# CHECK-ASM: .module fp=64
diff --git a/llvm/test/MC/Mips/mips_abi_flags_xx.s b/llvm/test/MC/Mips/mips_abi_flags_xx.s
index fb27192b2a9..94101ae0c8f 100644
--- a/llvm/test/MC/Mips/mips_abi_flags_xx.s
+++ b/llvm/test/MC/Mips/mips_abi_flags_xx.s
@@ -2,19 +2,19 @@
# RUN: FileCheck %s -check-prefix=CHECK-ASM
#
# RUN: llvm-mc %s -triple mips-unknown-linux-gnu -filetype=obj -o - | \
-# RUN: llvm-readobj -sections -section-data -section-relocations -mips-abi-flags - | \
+# RUN: llvm-readobj --sections --section-data --section-relocations --mips-abi-flags - | \
# RUN: FileCheck %s -check-prefixes=CHECK-OBJ,CHECK-OBJ-32R1,CHECK-OBJ-MIPS
# RUN: llvm-mc /dev/null -triple mips-unknown-linux-gnu -mattr=fpxx -filetype=obj -o - | \
-# RUN: llvm-readobj -sections -section-data -section-relocations -mips-abi-flags - | \
+# RUN: llvm-readobj --sections --section-data --section-relocations --mips-abi-flags - | \
# RUN: FileCheck %s -check-prefixes=CHECK-OBJ,CHECK-OBJ-32R1,CHECK-OBJ-MIPS
# RUN: llvm-mc /dev/null -triple mips-unknown-linux-gnu -mcpu=mips32r6 -mattr=fpxx -filetype=obj -o - | \
-# RUN: llvm-readobj -sections -section-data -section-relocations -mips-abi-flags - | \
+# RUN: llvm-readobj --sections --section-data --section-relocations --mips-abi-flags - | \
# RUN: FileCheck %s -check-prefixes=CHECK-OBJ,CHECK-OBJ-32R6,CHECK-OBJ-MIPS
# RUN: llvm-mc /dev/null -triple mips64-unknown-linux-gnu -mcpu=octeon -filetype=obj -o - | \
-# RUN: llvm-readobj -sections -section-data -section-relocations -mips-abi-flags - | \
+# RUN: llvm-readobj --sections --section-data --section-relocations --mips-abi-flags - | \
# RUN: FileCheck %s -check-prefixes=CHECK-OBJ,CHECK-OBJ-64R2,CHECK-OBJ-OCTEON
# CHECK-ASM: .module fp=xx
diff --git a/llvm/test/MC/Mips/mips_abi_flags_xx_set.s b/llvm/test/MC/Mips/mips_abi_flags_xx_set.s
index b38d1b9a49d..f2445eba777 100644
--- a/llvm/test/MC/Mips/mips_abi_flags_xx_set.s
+++ b/llvm/test/MC/Mips/mips_abi_flags_xx_set.s
@@ -2,7 +2,7 @@
# RUN: FileCheck %s -check-prefix=CHECK-ASM
#
# RUN: llvm-mc %s -triple mips-unknown-linux-gnu -filetype=obj -o - | \
-# RUN: llvm-readobj -sections -section-data -section-relocations -mips-abi-flags - | \
+# RUN: llvm-readobj --sections --section-data --section-relocations --mips-abi-flags - | \
# RUN: FileCheck %s -check-prefix=CHECK-OBJ
# CHECK-ASM: .module fp=xx
diff --git a/llvm/test/MC/Mips/module-hardfloat.s b/llvm/test/MC/Mips/module-hardfloat.s
index 8a54fa69dd6..f29fbc09353 100644
--- a/llvm/test/MC/Mips/module-hardfloat.s
+++ b/llvm/test/MC/Mips/module-hardfloat.s
@@ -2,7 +2,7 @@
# RUN: FileCheck %s -check-prefix=CHECK-ASM
#
# RUN: llvm-mc %s -triple mips-unknown-linux-gnu -filetype=obj -o - | \
-# RUN: llvm-readobj -mips-abi-flags - | \
+# RUN: llvm-readobj --mips-abi-flags - | \
# RUN: FileCheck %s -check-prefix=CHECK-OBJ
# CHECK-ASM: .module hardfloat
diff --git a/llvm/test/MC/Mips/module-softfloat.s b/llvm/test/MC/Mips/module-softfloat.s
index 18559c5aec1..77e62e38e20 100644
--- a/llvm/test/MC/Mips/module-softfloat.s
+++ b/llvm/test/MC/Mips/module-softfloat.s
@@ -2,7 +2,7 @@
# RUN: FileCheck %s -check-prefix=CHECK-ASM
#
# RUN: llvm-mc %s -arch=mips -mcpu=mips32 -filetype=obj -o - | \
-# RUN: llvm-readobj -mips-abi-flags - | \
+# RUN: llvm-readobj --mips-abi-flags - | \
# RUN: FileCheck %s -check-prefix=CHECK-OBJ
# CHECK-ASM: .module softfloat
diff --git a/llvm/test/MC/Mips/msa/abiflags.s b/llvm/test/MC/Mips/msa/abiflags.s
index d4d8cadb8f2..4bd9725bdc4 100644
--- a/llvm/test/MC/Mips/msa/abiflags.s
+++ b/llvm/test/MC/Mips/msa/abiflags.s
@@ -3,7 +3,7 @@
#
# RUN: llvm-mc %s -triple mips-unknown-linux-gnu -mcpu=mips32r2 -mattr=+msa \
# RUN: -filetype=obj -o - \
-# RUN: | llvm-readobj -sections -section-data -section-relocations - \
+# RUN: | llvm-readobj --sections --section-data --section-relocations - \
# RUN: | FileCheck %s -check-prefix=CHECK-OBJ
# CHECK-ASM: .module fp=32
diff --git a/llvm/test/MC/Mips/mt/abiflag.s b/llvm/test/MC/Mips/mt/abiflag.s
index b4769cba4c2..2d03c5d1106 100644
--- a/llvm/test/MC/Mips/mt/abiflag.s
+++ b/llvm/test/MC/Mips/mt/abiflag.s
@@ -1,5 +1,5 @@
# RUN: llvm-mc < %s -arch=mips -mcpu=mips32r2 -mattr=+mt -filetype=obj -o - \
-# RUN: | llvm-readobj -mips-abi-flags | FileCheck %s
+# RUN: | llvm-readobj --mips-abi-flags | FileCheck %s
# Test that the usage of the MT ASE is recorded in .MIPS.abiflags
diff --git a/llvm/test/MC/Mips/mt/module-directive.s b/llvm/test/MC/Mips/mt/module-directive.s
index d316f054eaa..0d9ab97b455 100644
--- a/llvm/test/MC/Mips/mt/module-directive.s
+++ b/llvm/test/MC/Mips/mt/module-directive.s
@@ -1,5 +1,5 @@
# RUN: llvm-mc < %s -arch=mips -mcpu=mips32r2 -filetype=obj -o - | \
-# RUN: llvm-readobj -mips-abi-flags | FileCheck --check-prefix=CHECK-OBJ %s
+# RUN: llvm-readobj --mips-abi-flags | FileCheck --check-prefix=CHECK-OBJ %s
# RUN: llvm-mc < %s -arch=mips -mcpu=mips32r2 -filetype=asm -o - | \
# RUN: FileCheck --check-prefix=CHECK-ASM %s
diff --git a/llvm/test/MC/Mips/mt/set-directive.s b/llvm/test/MC/Mips/mt/set-directive.s
index 53ed4b27379..9088655d8c5 100644
--- a/llvm/test/MC/Mips/mt/set-directive.s
+++ b/llvm/test/MC/Mips/mt/set-directive.s
@@ -1,5 +1,5 @@
# RUN: llvm-mc < %s -arch=mips -mcpu=mips32r2 -filetype=obj -o - | \
-# RUN: llvm-readobj -mips-abi-flags | FileCheck %s --check-prefix=CHECK-OBJ
+# RUN: llvm-readobj --mips-abi-flags | FileCheck %s --check-prefix=CHECK-OBJ
# RUN: llvm-mc < %s -arch=mips -mcpu=mips32r2 -filetype=asm -o - | \
# RUN: FileCheck %s --check-prefix=CHECK-ASM
diff --git a/llvm/test/MC/Mips/nooddspreg-cmdarg.s b/llvm/test/MC/Mips/nooddspreg-cmdarg.s
index 3bbb8e893e6..2ccce74a5f1 100644
--- a/llvm/test/MC/Mips/nooddspreg-cmdarg.s
+++ b/llvm/test/MC/Mips/nooddspreg-cmdarg.s
@@ -2,7 +2,7 @@
# RUN: FileCheck %s -check-prefix=CHECK-ASM
#
# RUN: llvm-mc %s -triple mips-unknown-linux-gnu -mattr=+fp64,+nooddspreg -filetype=obj -o - | \
-# RUN: llvm-readobj -sections -section-data -section-relocations - | \
+# RUN: llvm-readobj --sections --section-data --section-relocations - | \
# RUN: FileCheck %s -check-prefix=CHECK-OBJ
# RUN: not llvm-mc %s -triple mips64-unknown-linux-gnuabin32 -mattr=+nooddspreg 2> %t0
diff --git a/llvm/test/MC/Mips/nooddspreg.s b/llvm/test/MC/Mips/nooddspreg.s
index a5530ef8f52..6511da78657 100644
--- a/llvm/test/MC/Mips/nooddspreg.s
+++ b/llvm/test/MC/Mips/nooddspreg.s
@@ -2,7 +2,7 @@
# RUN: FileCheck %s -check-prefix=CHECK-ASM
#
# RUN: llvm-mc %s -triple mips-unknown-linux-gnu -mattr=+fp64 -filetype=obj -o - | \
-# RUN: llvm-readobj -sections -section-data -section-relocations - | \
+# RUN: llvm-readobj --sections --section-data --section-relocations - | \
# RUN: FileCheck %s -check-prefix=CHECK-OBJ
# RUN: not llvm-mc %s -triple mips64-unknown-linux-gnuabin32 2> %t1
diff --git a/llvm/test/MC/Mips/oddspreg.s b/llvm/test/MC/Mips/oddspreg.s
index c65a27d0828..204ff2c2808 100644
--- a/llvm/test/MC/Mips/oddspreg.s
+++ b/llvm/test/MC/Mips/oddspreg.s
@@ -2,14 +2,14 @@
# RUN: FileCheck %s -check-prefix=CHECK-ASM
#
# RUN: llvm-mc %s -triple mips-unknown-linux-gnu -mattr=+fp64 -filetype=obj -o - | \
-# RUN: llvm-readobj -sections -section-data -section-relocations - | \
+# RUN: llvm-readobj --sections --section-data --section-relocations - | \
# RUN: FileCheck %s -check-prefixes=CHECK-OBJ-ALL,CHECK-OBJ-O32
#
# RUN: llvm-mc %s -triple mips64-unknown-linux-gnuabin32 | \
# RUN: FileCheck %s -check-prefix=CHECK-ASM
#
# RUN: llvm-mc %s -triple mips64-unknown-linux-gnuabin32 -filetype=obj -o - | \
-# RUN: llvm-readobj -sections -section-data -section-relocations - | \
+# RUN: llvm-readobj --sections --section-data --section-relocations - | \
# RUN: FileCheck %s -check-prefixes=CHECK-OBJ-ALL,CHECK-OBJ-N32
# RUN: llvm-mc %s -triple mips64-unknown-linux-gnu | \
@@ -18,19 +18,19 @@
# Repeat the -filetype=obj tests but this time use an empty assembly file. The
# output should be unchanged.
# RUN: llvm-mc /dev/null -triple mips64-unknown-linux-gnu -filetype=obj -o - | \
-# RUN: llvm-readobj -sections -section-data -section-relocations - | \
+# RUN: llvm-readobj --sections --section-data --section-relocations - | \
# RUN: FileCheck %s -check-prefixes=CHECK-OBJ-ALL,CHECK-OBJ-N64
# RUN: llvm-mc /dev/null -triple mips-unknown-linux-gnu -mattr=+fp64 -filetype=obj -o - | \
-# RUN: llvm-readobj -sections -section-data -section-relocations - | \
+# RUN: llvm-readobj --sections --section-data --section-relocations - | \
# RUN: FileCheck %s -check-prefixes=CHECK-OBJ-ALL,CHECK-OBJ-O32
#
# RUN: llvm-mc /dev/null -triple mips64-unknown-linux-gnuabin32 -filetype=obj -o - | \
-# RUN: llvm-readobj -sections -section-data -section-relocations - | \
+# RUN: llvm-readobj --sections --section-data --section-relocations - | \
# RUN: FileCheck %s -check-prefixes=CHECK-OBJ-ALL,CHECK-OBJ-N32
# RUN: llvm-mc /dev/null -triple mips64-unknown-linux-gnu -filetype=obj -o - | \
-# RUN: llvm-readobj -sections -section-data -section-relocations - | \
+# RUN: llvm-readobj --sections --section-data --section-relocations - | \
# RUN: FileCheck %s -check-prefixes=CHECK-OBJ-ALL,CHECK-OBJ-N64
# CHECK-ASM: .module oddspreg
diff --git a/llvm/test/MC/Mips/reloc-directive.s b/llvm/test/MC/Mips/reloc-directive.s
index bf7c91b851f..b7498105681 100644
--- a/llvm/test/MC/Mips/reloc-directive.s
+++ b/llvm/test/MC/Mips/reloc-directive.s
@@ -5,13 +5,13 @@
# RUN: llvm-mc -triple mips64-unknown-linux < %s -show-encoding -target-abi=n64 \
# RUN: | FileCheck -check-prefix=ASM %s
# RUN: llvm-mc -triple mips-unknown-linux < %s -show-encoding -target-abi=o32 \
-# RUN: -filetype=obj | llvm-readobj -sections -section-data -r | \
+# RUN: -filetype=obj | llvm-readobj --sections --section-data -r | \
# RUN: FileCheck -check-prefix=OBJ-O32 %s
# RUN: llvm-mc -triple mips64-unknown-linux < %s -show-encoding -target-abi=n32 \
-# RUN: -filetype=obj | llvm-readobj -sections -section-data -r | \
+# RUN: -filetype=obj | llvm-readobj --sections --section-data -r | \
# RUN: FileCheck -check-prefix=OBJ-N32 %s
# RUN: llvm-mc -triple mips64-unknown-linux < %s -show-encoding -target-abi=n64 \
-# RUN: -filetype=obj | llvm-readobj -sections -section-data -r | \
+# RUN: -filetype=obj | llvm-readobj --sections --section-data -r | \
# RUN: FileCheck -check-prefix=OBJ-N64 %s
.text
foo:
diff --git a/llvm/test/MC/Mips/relocation-n64.s b/llvm/test/MC/Mips/relocation-n64.s
index cb556e0866a..155ac20653a 100644
--- a/llvm/test/MC/Mips/relocation-n64.s
+++ b/llvm/test/MC/Mips/relocation-n64.s
@@ -5,7 +5,7 @@
// RUN: llvm-mc -filetype=obj -triple mips64el-unknown-linux < %s \
// RUN: | llvm-readobj -r | FileCheck -check-prefix=RELOC %s
// RUN: llvm-mc -filetype=obj -triple mips64-unknown-linux < %s \
-// RUN: | llvm-readobj -sections -section-data \
+// RUN: | llvm-readobj --sections --section-data \
// RUN: | FileCheck -check-prefix=DATA %s
// Test that we produce the correct relocation.
diff --git a/llvm/test/MC/Mips/relocation-xfail.s b/llvm/test/MC/Mips/relocation-xfail.s
index dcb78beb413..25db54a727e 100644
--- a/llvm/test/MC/Mips/relocation-xfail.s
+++ b/llvm/test/MC/Mips/relocation-xfail.s
@@ -1,5 +1,5 @@
// RUN: llvm-mc -filetype=obj -triple mips-unknown-linux -mattr=+micromips < %s \
-// RUN: | llvm-readobj -sections -section-data \
+// RUN: | llvm-readobj --sections --section-data \
// RUN: | FileCheck -check-prefix=DATA %s
//
// XFAIL: *
diff --git a/llvm/test/MC/Mips/relocation.s b/llvm/test/MC/Mips/relocation.s
index aa36b873bfc..0ff450b24a0 100644
--- a/llvm/test/MC/Mips/relocation.s
+++ b/llvm/test/MC/Mips/relocation.s
@@ -5,7 +5,7 @@
// RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux < %s \
// RUN: | llvm-readobj -r | FileCheck -check-prefix=RELOC %s
// RUN: llvm-mc -filetype=obj -triple mips-unknown-linux < %s \
-// RUN: | llvm-readobj -sections -section-data \
+// RUN: | llvm-readobj --sections --section-data \
// RUN: | FileCheck -check-prefix=DATA %s
// Test that we produce the correct relocation.
diff --git a/llvm/test/MC/Mips/section-size.s b/llvm/test/MC/Mips/section-size.s
index f6ffa8fe2de..1d3319cbf09 100644
--- a/llvm/test/MC/Mips/section-size.s
+++ b/llvm/test/MC/Mips/section-size.s
@@ -1,5 +1,5 @@
# RUN: llvm-mc -triple mips-unknown-linux -filetype=obj \
-# RUN: -mips-round-section-sizes %s | llvm-readobj -sections | FileCheck %s
+# RUN: -mips-round-section-sizes %s | llvm-readobj --sections | FileCheck %s
.section ".talign1", "ax"
.p2align 4
t1: .byte 1
diff --git a/llvm/test/MC/Mips/sym-offset.ll b/llvm/test/MC/Mips/sym-offset.ll
index 55adc22d971..c5a063b8795 100644
--- a/llvm/test/MC/Mips/sym-offset.ll
+++ b/llvm/test/MC/Mips/sym-offset.ll
@@ -1,4 +1,4 @@
-; DISABLED: llc -filetype=obj -mtriple mipsel-unknown-linux %s -o - | llvm-readobj -s -sd | FileCheck %s
+; DISABLED: llc -filetype=obj -mtriple mipsel-unknown-linux %s -o - | llvm-readobj -S --sd | FileCheck %s
; RUN: false
; XFAIL: *
diff --git a/llvm/test/MC/Mips/virt/module-novirt.s b/llvm/test/MC/Mips/virt/module-novirt.s
index 53c04599e8f..0f531dbbc80 100644
--- a/llvm/test/MC/Mips/virt/module-novirt.s
+++ b/llvm/test/MC/Mips/virt/module-novirt.s
@@ -2,7 +2,7 @@
# RUN: FileCheck %s -check-prefix=CHECK-ASM
#
# RUN: llvm-mc %s -arch=mips -mcpu=mips32r5 -filetype=obj -o - -mattr=+virt | \
-# RUN: llvm-readobj -mips-abi-flags - | \
+# RUN: llvm-readobj --mips-abi-flags - | \
# RUN: FileCheck %s -check-prefix=CHECK-OBJ
# CHECK-ASM: .module novirt
diff --git a/llvm/test/MC/Mips/virt/module-virt.s b/llvm/test/MC/Mips/virt/module-virt.s
index 9a025ed7ed4..ae38b83d848 100644
--- a/llvm/test/MC/Mips/virt/module-virt.s
+++ b/llvm/test/MC/Mips/virt/module-virt.s
@@ -3,7 +3,7 @@
#
# RUN: llvm-mc %s -triple=mips-unknown-linux-gnu -mcpu=mips32r5 \
# RUN: -filetype=obj -o - | \
-# RUN: llvm-readobj -mips-abi-flags - | \
+# RUN: llvm-readobj --mips-abi-flags - | \
# RUN: FileCheck %s -check-prefix=CHECK-OBJ
# CHECK-ASM: .module virt
OpenPOWER on IntegriCloud