[lld] 67d760d - [ELF][test] Remove unneeded --mcpu=future from llvm-objdump commands
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 12 21:08:56 PDT 2022
Author: Fangrui Song
Date: 2022-07-12T21:08:52-07:00
New Revision: 67d760dd499798ef9555be7d01e4905defbb5e1a
URL: https://github.com/llvm/llvm-project/commit/67d760dd499798ef9555be7d01e4905defbb5e1a
DIFF: https://github.com/llvm/llvm-project/commit/67d760dd499798ef9555be7d01e4905defbb5e1a.diff
LOG: [ELF][test] Remove unneeded --mcpu=future from llvm-objdump commands
Added:
Modified:
lld/test/ELF/ppc64-reloc-got-pcrel34.s
lld/test/ELF/ppc64-reloc-pcrel34.s
lld/test/ELF/ppc64-toc-call-to-pcrel.s
Removed:
################################################################################
diff --git a/lld/test/ELF/ppc64-reloc-got-pcrel34.s b/lld/test/ELF/ppc64-reloc-got-pcrel34.s
index 4a610eabc15a..e5a36433ca08 100644
--- a/lld/test/ELF/ppc64-reloc-got-pcrel34.s
+++ b/lld/test/ELF/ppc64-reloc-got-pcrel34.s
@@ -8,13 +8,13 @@
# RUN: ld.lld -T %t.script --shared %t.o -o %t
# RUN: llvm-readelf -s %t | FileCheck %s --check-prefix=SYMBOL
# RUN: llvm-readelf -r %t | FileCheck %s --check-prefix=RELA
-# RUN: llvm-objdump -d --no-show-raw-insn --mcpu=future %t | FileCheck %s
+# RUN: llvm-objdump -d --no-show-raw-insn %t | FileCheck %s
# RUN: llvm-mc -filetype=obj -triple=powerpc64 %s -o %t.o
# RUN: ld.lld -T %t.script --shared %t.o -o %t
# RUN: llvm-readelf -s %t | FileCheck %s --check-prefix=SYMBOL
# RUN: llvm-readelf -r %t | FileCheck %s --check-prefix=RELA
-# RUN: llvm-objdump -d --no-show-raw-insn --mcpu=future %t | FileCheck %s
+# RUN: llvm-objdump -d --no-show-raw-insn %t | FileCheck %s
.text
.section .text_low, "ax", %progbits
diff --git a/lld/test/ELF/ppc64-reloc-pcrel34.s b/lld/test/ELF/ppc64-reloc-pcrel34.s
index 1bc2adf8dcdd..a6e9c086a752 100644
--- a/lld/test/ELF/ppc64-reloc-pcrel34.s
+++ b/lld/test/ELF/ppc64-reloc-pcrel34.s
@@ -7,12 +7,12 @@
# RUN: llvm-mc -filetype=obj -triple=powerpc64le %s -o %t.o
# RUN: ld.lld -T %t.script %t.o -o %t
# RUN: llvm-readelf -s %t | FileCheck %s --check-prefix=SYMBOL
-# RUN: llvm-objdump -d --no-show-raw-insn --mcpu=future %t | FileCheck %s
+# RUN: llvm-objdump -d --no-show-raw-insn %t | FileCheck %s
# RUN: llvm-mc -filetype=obj -triple=powerpc64 %s -o %t.o
# RUN: ld.lld -T %t.script %t.o -o %t
# RUN: llvm-readelf -s %t | FileCheck %s --check-prefix=SYMBOL
-# RUN: llvm-objdump -d --no-show-raw-insn --mcpu=future %t | FileCheck %s
+# RUN: llvm-objdump -d --no-show-raw-insn %t | FileCheck %s
.section .text_low, "ax", %progbits
# CHECK-LABEL: <GlobIntPCRel>:
diff --git a/lld/test/ELF/ppc64-toc-call-to-pcrel.s b/lld/test/ELF/ppc64-toc-call-to-pcrel.s
index 359870ecf288..78d7e299f14a 100644
--- a/lld/test/ELF/ppc64-toc-call-to-pcrel.s
+++ b/lld/test/ELF/ppc64-toc-call-to-pcrel.s
@@ -7,17 +7,17 @@
# RUN: llvm-mc -filetype=obj -triple=powerpc64le %s -o %t.o
# RUN: ld.lld -T %t.script %t.o -o %t
# RUN: llvm-readelf -s %t | FileCheck %s --check-prefix=SYMBOL
-# RUN: llvm-objdump -d --no-show-raw-insn --mcpu=future %t | FileCheck %s
+# RUN: llvm-objdump -d --no-show-raw-insn %t | FileCheck %s
# RUN: llvm-mc -filetype=obj -triple=powerpc64 %s -o %t.o
# RUN: ld.lld -T %t.script %t.o -o %t
# RUN: llvm-readelf -s %t | FileCheck %s --check-prefix=SYMBOL
-# RUN: llvm-objdump -d --no-show-raw-insn --mcpu=future %t | FileCheck %s
+# RUN: llvm-objdump -d --no-show-raw-insn %t | FileCheck %s
# RUN: llvm-mc -filetype=obj -triple=powerpc64 %s -o %t.o
# RUN: ld.lld -T %t.script %t.o -o %t --no-power10-stubs
# RUN: llvm-readelf -s %t | FileCheck %s --check-prefix=SYMBOL
-# RUN: llvm-objdump -d --no-show-raw-insn --mcpu=future %t \
+# RUN: llvm-objdump -d --no-show-raw-insn %t \
# RUN: | FileCheck %s
# The point of this test is to make sure that when a function with TOC access
More information about the llvm-commits
mailing list