diff options
author | Fangrui Song <i@maskray.me> | 2022-07-13 07:07:45 +0300 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2022-07-13 07:07:45 +0300 |
commit | 4864aba631d1afd50f86c1c4a46c7133643d9a13 (patch) | |
tree | e0ce663c6914c03a3666bf6ad66f8bea2d436a82 /lld | |
parent | 033b9f21b00bdb4554078b9c15e67716cd3fad84 (diff) |
[ELF][test] Remove unneeded --mcpu=pwr10 from llvm-objdump commands
llvm-objdump has defaulted to decode all known instructions for PPC64.
Diffstat (limited to 'lld')
-rw-r--r-- | lld/test/ELF/ppc64-check-missing-tocbase.s | 2 | ||||
-rw-r--r-- | lld/test/ELF/ppc64-got-to-pcrel-relaxation.s | 12 | ||||
-rw-r--r-- | lld/test/ELF/ppc64-pcrel-call-to-extern.s | 8 | ||||
-rw-r--r-- | lld/test/ELF/ppc64-pcrel-call-to-pcrel.s | 8 | ||||
-rw-r--r-- | lld/test/ELF/ppc64-pcrel-call-to-toc.s | 6 | ||||
-rw-r--r-- | lld/test/ELF/ppc64-pcrel-cross-link.s | 4 | ||||
-rw-r--r-- | lld/test/ELF/ppc64-pcrel-long-branch.s | 8 | ||||
-rw-r--r-- | lld/test/ELF/ppc64-plt-stub-compatible.s | 8 | ||||
-rw-r--r-- | lld/test/ELF/ppc64-tls-le-relax.s | 2 | ||||
-rw-r--r-- | lld/test/ELF/ppc64-tls-pcrel-gd.s | 6 | ||||
-rw-r--r-- | lld/test/ELF/ppc64-tls-pcrel-ie.s | 4 | ||||
-rw-r--r-- | lld/test/ELF/ppc64-tls-pcrel-ld.s | 4 | ||||
-rw-r--r-- | lld/test/ELF/ppc64-tls-pcrel-le.s | 4 | ||||
-rw-r--r-- | lld/test/ELF/ppc64-toc-call-to-pcrel-long-jump.s | 6 |
14 files changed, 41 insertions, 41 deletions
diff --git a/lld/test/ELF/ppc64-check-missing-tocbase.s b/lld/test/ELF/ppc64-check-missing-tocbase.s index b774aa71cf2d..e7a34eeff236 100644 --- a/lld/test/ELF/ppc64-check-missing-tocbase.s +++ b/lld/test/ELF/ppc64-check-missing-tocbase.s @@ -2,7 +2,7 @@ # RUN: llvm-mc -filetype=obj -triple=powerpc64le %s -o %t.o # RUN: llvm-readobj -r %t.o | FileCheck --check-prefix=INPUT-REL %s -# RUN: llvm-objdump -d --no-show-raw-insn --mcpu=pwr10 %t.o | FileCheck --check-prefix=INPUT-ASM %s +# RUN: llvm-objdump -d --no-show-raw-insn %t.o | FileCheck --check-prefix=INPUT-ASM %s # RUN: ld.lld --shared %t.o --soname=t.so -o %t.so # RUN: llvm-readelf -r %t.so | FileCheck --check-prefix=SO-REL %s diff --git a/lld/test/ELF/ppc64-got-to-pcrel-relaxation.s b/lld/test/ELF/ppc64-got-to-pcrel-relaxation.s index 37fe65cfc3da..46102ec19436 100644 --- a/lld/test/ELF/ppc64-got-to-pcrel-relaxation.s +++ b/lld/test/ELF/ppc64-got-to-pcrel-relaxation.s @@ -5,9 +5,9 @@ # RUN: ld.lld %t1.o %t2.o -o %t # RUN: ld.lld %t1.o %t2.so -o %ts # RUN: ld.lld %t1.o %t2.o -o %tn --no-pcrel-optimize -# RUN: llvm-objdump -d --no-show-raw-insn --mcpu=pwr10 %t | FileCheck %s --check-prefix=CHECK-S -# RUN: llvm-objdump -d --no-show-raw-insn --mcpu=pwr10 %ts | FileCheck %s --check-prefix=CHECK-D -# RUN: llvm-objdump -d --no-show-raw-insn --mcpu=pwr10 %tn | FileCheck %s --check-prefix=CHECK-D +# RUN: llvm-objdump -d --no-show-raw-insn %t | FileCheck %s --check-prefix=CHECK-S +# RUN: llvm-objdump -d --no-show-raw-insn %ts | FileCheck %s --check-prefix=CHECK-D +# RUN: llvm-objdump -d --no-show-raw-insn %tn | FileCheck %s --check-prefix=CHECK-D # RUN: llvm-mc -filetype=obj -triple=powerpc64 %s -o %t1.o # RUN: llvm-mc -filetype=obj -triple=powerpc64 %p/Inputs/ppc64-got-to-pcrel-relaxation-def.s -o %t2.o @@ -15,9 +15,9 @@ # RUN: ld.lld %t1.o %t2.o -o %t # RUN: ld.lld %t1.o %t2.so -o %ts # RUN: ld.lld %t1.o %t2.o -o %tn --no-pcrel-optimize -# RUN: llvm-objdump -d --no-show-raw-insn --mcpu=pwr10 %t | FileCheck %s --check-prefix=CHECK-S -# RUN: llvm-objdump -d --no-show-raw-insn --mcpu=pwr10 %ts | FileCheck %s --check-prefix=CHECK-D -# RUN: llvm-objdump -d --no-show-raw-insn --mcpu=pwr10 %tn | FileCheck %s --check-prefix=CHECK-D +# RUN: llvm-objdump -d --no-show-raw-insn %t | FileCheck %s --check-prefix=CHECK-S +# RUN: llvm-objdump -d --no-show-raw-insn %ts | FileCheck %s --check-prefix=CHECK-D +# RUN: llvm-objdump -d --no-show-raw-insn %tn | FileCheck %s --check-prefix=CHECK-D # CHECK-S-LABEL: <check_LBZ_STB>: # CHECK-S-NEXT: plbz 10 diff --git a/lld/test/ELF/ppc64-pcrel-call-to-extern.s b/lld/test/ELF/ppc64-pcrel-call-to-extern.s index 500132fd88f5..ec65c027fee3 100644 --- a/lld/test/ELF/ppc64-pcrel-call-to-extern.s +++ b/lld/test/ELF/ppc64-pcrel-call-to-extern.s @@ -12,7 +12,7 @@ # RUN: llvm-readelf -s %t | FileCheck %s --check-prefix=SYMBOL # RUN: llvm-readelf -S -d %t | FileCheck %s --check-prefix=SEC # RUN: llvm-readobj -r %t | FileCheck %s --check-prefix=REL -# RUN: llvm-objdump -d --no-show-raw-insn --mcpu=pwr10 %t | FileCheck %s +# RUN: llvm-objdump -d --no-show-raw-insn %t | FileCheck %s # RUN: llvm-mc -filetype=obj -triple=powerpc64 --defsym AUX=1 %s -o %t1.o # RUN: llvm-mc -filetype=obj -triple=powerpc64 %s -o %t2.o @@ -21,7 +21,7 @@ # RUN: llvm-readelf -s %t | FileCheck %s --check-prefix=SYMBOL # RUN: llvm-readelf -S -d %t | FileCheck %s --check-prefix=SEC # RUN: llvm-readobj -r %t | FileCheck %s --check-prefix=REL -# RUN: llvm-objdump -d --no-show-raw-insn --mcpu=pwr10 %t | FileCheck %s +# RUN: llvm-objdump -d --no-show-raw-insn %t | FileCheck %s # RUN: llvm-mc -filetype=obj -triple=powerpc64le --defsym AUX=1 %s -o %t1.o # RUN: llvm-mc -filetype=obj -triple=powerpc64le %s -o %t2.o @@ -30,7 +30,7 @@ # RUN: llvm-readelf -s %t | FileCheck %s --check-prefix=SYMBOL-NOP10 # RUN: llvm-readelf -S -d %t | FileCheck %s --check-prefix=SEC-NOP10 # RUN: llvm-readobj -r %t | FileCheck %s --check-prefix=REL-NOP10 -# RUN: llvm-objdump -d --no-show-raw-insn --mcpu=pwr10 %t | FileCheck %s --check-prefix=CHECK-NOP10 +# RUN: llvm-objdump -d --no-show-raw-insn %t | FileCheck %s --check-prefix=CHECK-NOP10 # RUN: llvm-mc -filetype=obj -triple=powerpc64 --defsym AUX=1 %s -o %t1.o # RUN: llvm-mc -filetype=obj -triple=powerpc64 %s -o %t2.o @@ -39,7 +39,7 @@ # RUN: llvm-readelf -s %t | FileCheck %s --check-prefix=SYMBOL-NOP10 # RUN: llvm-readelf -S -d %t | FileCheck %s --check-prefix=SEC-NOP10 # RUN: llvm-readobj -r %t | FileCheck %s --check-prefix=REL-NOP10 -# RUN: llvm-objdump -d --no-show-raw-insn --mcpu=pwr10 %t | FileCheck %s --check-prefix=CHECK-NOP10 +# RUN: llvm-objdump -d --no-show-raw-insn %t | FileCheck %s --check-prefix=CHECK-NOP10 ## The test is created to check that when a function without TOC access an ## external function, a r12 setup stub is inserted. diff --git a/lld/test/ELF/ppc64-pcrel-call-to-pcrel.s b/lld/test/ELF/ppc64-pcrel-call-to-pcrel.s index 9d3c8ee7ce88..6cbbbfb886e2 100644 --- a/lld/test/ELF/ppc64-pcrel-call-to-pcrel.s +++ b/lld/test/ELF/ppc64-pcrel-call-to-pcrel.s @@ -10,23 +10,23 @@ # RUN: llvm-mc -filetype=obj -triple=powerpc64le %p/Inputs/ppc64-callee-global-hidden.s -o %t2.o # RUN: ld.lld -T %t.script -shared %t1.o %t2.o -o %t.so # RUN: llvm-readelf -s %t.so | FileCheck %s --check-prefix=SYMBOL -# RUN: llvm-objdump -d --no-show-raw-insn --mcpu=pwr10 %t.so | FileCheck --check-prefix=CHECK --check-prefix=CHECK-HIDDEN %s +# RUN: llvm-objdump -d --no-show-raw-insn %t.so | FileCheck --check-prefix=CHECK --check-prefix=CHECK-HIDDEN %s # RUN: llvm-mc -filetype=obj -triple=powerpc64le -defsym GLOBAL=1 %s -o %t3.o # RUN: ld.lld -T %t.script %t3.o -o %t # RUN: llvm-readelf -s %t | FileCheck %s --check-prefix=SYMBOL-GLOBAL -# RUN: llvm-objdump -d --no-show-raw-insn --mcpu=pwr10 %t | FileCheck %s +# RUN: llvm-objdump -d --no-show-raw-insn %t | FileCheck %s # RUN: llvm-mc -filetype=obj -triple=powerpc64 -defsym HIDDEN=1 %s -o %t1.o # RUN: llvm-mc -filetype=obj -triple=powerpc64 %p/Inputs/ppc64-callee-global-hidden.s -o %t2.o # RUN: ld.lld -T %t.script -shared %t1.o %t2.o -o %t.so # RUN: llvm-readelf -s %t.so | FileCheck %s --check-prefix=SYMBOL -# RUN: llvm-objdump -d --no-show-raw-insn --mcpu=pwr10 %t.so | FileCheck --check-prefix=CHECK --check-prefix=CHECK-HIDDEN %s +# RUN: llvm-objdump -d --no-show-raw-insn %t.so | FileCheck --check-prefix=CHECK --check-prefix=CHECK-HIDDEN %s # RUN: llvm-mc -filetype=obj -triple=powerpc64 -defsym GLOBAL=1 %s -o %t3.o # RUN: ld.lld -T %t.script %t3.o -o %t # RUN: llvm-readelf -s %t | FileCheck %s --check-prefix=SYMBOL-GLOBAL -# RUN: llvm-objdump -d --no-show-raw-insn --mcpu=pwr10 %t | FileCheck %s +# RUN: llvm-objdump -d --no-show-raw-insn %t | FileCheck %s # SYMBOL: 2: 0000000010010000 0 NOTYPE LOCAL DEFAULT 5 callee1_stother0_default # SYMBOL-NEXT: 3: 0000000010010004 0 NOTYPE LOCAL DEFAULT [<other: 0x20>] 5 caller1 diff --git a/lld/test/ELF/ppc64-pcrel-call-to-toc.s b/lld/test/ELF/ppc64-pcrel-call-to-toc.s index 1d3b3f73eaff..9501ace84400 100644 --- a/lld/test/ELF/ppc64-pcrel-call-to-toc.s +++ b/lld/test/ELF/ppc64-pcrel-call-to-toc.s @@ -8,17 +8,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=pwr10 %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 --power10-stubs=yes # RUN: llvm-readelf -s %t | FileCheck %s --check-prefix=SYMBOL -# RUN: llvm-objdump -d --no-show-raw-insn --mcpu=pwr10 %t | FileCheck %s +# RUN: llvm-objdump -d --no-show-raw-insn %t | FileCheck %s # RUN: llvm-mc -filetype=obj -triple=powerpc64le %s -o %t.o # RUN: ld.lld -T %t.script %t.o -o %t --power10-stubs=auto --no-power10-stubs # RUN: llvm-readelf -s %t | FileCheck %s --check-prefix=SYMBOL -# RUN: llvm-objdump -d --no-show-raw-insn --mcpu=pwr10 %t \ +# RUN: llvm-objdump -d --no-show-raw-insn %t \ # RUN: | FileCheck %s --check-prefix=CHECK-NOP10 ## When a function without TOC accesses a function using TOC, an r12 setup stub diff --git a/lld/test/ELF/ppc64-pcrel-cross-link.s b/lld/test/ELF/ppc64-pcrel-cross-link.s index c4c2c6257587..eaf0464a492f 100644 --- a/lld/test/ELF/ppc64-pcrel-cross-link.s +++ b/lld/test/ELF/ppc64-pcrel-cross-link.s @@ -7,9 +7,9 @@ # RUN: ld.lld -T %t/lds %t-callees.o %t-callernotoc.o %t-callertoc.o -o %t-r12setup # RUN: ld.lld -T %t/ldsswap %t-callees.o %t-callernotoc.o %t-callertoc.o -o %t-r2save -# RUN: llvm-objdump -d --no-show-raw-insn --mcpu=pwr10 %t-r12setup | \ +# RUN: llvm-objdump -d --no-show-raw-insn %t-r12setup | \ # RUN: FileCheck %s --check-prefix=NOSWAP -# RUN: llvm-objdump -d --no-show-raw-insn --mcpu=pwr10 %t-r2save | \ +# RUN: llvm-objdump -d --no-show-raw-insn %t-r2save | \ # RUN: FileCheck %s --check-prefix=SWAP ## This test checks that it is possible to mix TOC and NOTOC functions and have diff --git a/lld/test/ELF/ppc64-pcrel-long-branch.s b/lld/test/ELF/ppc64-pcrel-long-branch.s index 88e2b455ed76..4c8e3b2e74df 100644 --- a/lld/test/ELF/ppc64-pcrel-long-branch.s +++ b/lld/test/ELF/ppc64-pcrel-long-branch.s @@ -6,19 +6,19 @@ # RUN: llvm-mc -filetype=obj -triple=ppc64le %s -o %t.o # RUN: ld.lld -T %t.script %t.o -o %t -# RUN: llvm-objdump -d --no-show-raw-insn --mcpu=pwr10 %t | FileCheck %s +# RUN: llvm-objdump -d --no-show-raw-insn %t | FileCheck %s # RUN: llvm-mc -filetype=obj -triple=ppc64le -defsym HIDDEN=1 %s -o %t.o # RUN: ld.lld -shared -T %t.script %t.o -o %t.so -# RUN: llvm-objdump -d --no-show-raw-insn --mcpu=pwr10 %t.so | FileCheck %s +# RUN: llvm-objdump -d --no-show-raw-insn %t.so | FileCheck %s # RUN: llvm-mc -filetype=obj -triple=ppc64 %s -o %t.o # RUN: ld.lld -T %t.script %t.o -o %t -# RUN: llvm-objdump -d --no-show-raw-insn --mcpu=pwr10 %t | FileCheck %s +# RUN: llvm-objdump -d --no-show-raw-insn %t | FileCheck %s # RUN: llvm-mc -filetype=obj -triple=ppc64 -defsym HIDDEN=1 %s -o %t.o # RUN: ld.lld -shared -T %t.script %t.o -o %t.so -# RUN: llvm-objdump -d --no-show-raw-insn --mcpu=pwr10 %t.so | FileCheck %s +# RUN: llvm-objdump -d --no-show-raw-insn %t.so | FileCheck %s # CHECK-LABEL: <_start>: # CHECK-NEXT: 2000: bl 0x2010 diff --git a/lld/test/ELF/ppc64-plt-stub-compatible.s b/lld/test/ELF/ppc64-plt-stub-compatible.s index 07773b645b3a..11c5389908e4 100644 --- a/lld/test/ELF/ppc64-plt-stub-compatible.s +++ b/lld/test/ELF/ppc64-plt-stub-compatible.s @@ -9,8 +9,8 @@ # RUN: ld.lld --shared %t1.o -o %t1.so # RUN: ld.lld -T %t.script %t1.so %t2.o -o %t2 # RUN: ld.lld -T %t.script %t1.so %t3.o -o %t3 -# RUN: llvm-objdump -d --no-show-raw-insn --mcpu=pwr10 %t2 | FileCheck %s --check-prefix=T2 -# RUN: llvm-objdump -d --no-show-raw-insn --mcpu=pwr10 %t3 | FileCheck %s --check-prefix=T3 +# RUN: llvm-objdump -d --no-show-raw-insn %t2 | FileCheck %s --check-prefix=T2 +# RUN: llvm-objdump -d --no-show-raw-insn %t3 | FileCheck %s --check-prefix=T3 # RUN: llvm-mc -filetype=obj -triple=powerpc64 %s --defsym T1=1 -o %t1.o # RUN: llvm-mc -filetype=obj -triple=powerpc64 %s --defsym T2=1 -o %t2.o @@ -18,8 +18,8 @@ # RUN: ld.lld --shared %t1.o -o %t1.so # RUN: ld.lld -T %t.script %t1.so %t2.o -o %t2 # RUN: ld.lld -T %t.script %t1.so %t3.o -o %t3 -# RUN: llvm-objdump -d --no-show-raw-insn --mcpu=pwr10 %t2 | FileCheck %s --check-prefix=T2 -# RUN: llvm-objdump -d --no-show-raw-insn --mcpu=pwr10 %t3 | FileCheck %s --check-prefix=T3 +# RUN: llvm-objdump -d --no-show-raw-insn %t2 | FileCheck %s --check-prefix=T2 +# RUN: llvm-objdump -d --no-show-raw-insn %t3 | FileCheck %s --check-prefix=T3 .ifdef T1 .globl callee diff --git a/lld/test/ELF/ppc64-tls-le-relax.s b/lld/test/ELF/ppc64-tls-le-relax.s index 3c3bc33a65b7..58e83e378dc1 100644 --- a/lld/test/ELF/ppc64-tls-le-relax.s +++ b/lld/test/ELF/ppc64-tls-le-relax.s @@ -3,7 +3,7 @@ # RUN: llvm-mc -filetype=obj -triple=powerpc64le %t/initexec -o %t/initexec.o # RUN: llvm-mc -filetype=obj -triple=powerpc64le %t/defs -o %t/defs.o # RUN: ld.lld %t/initexec.o %t/defs.o -o %t/out -# RUN: llvm-objdump -d --mcpu=pwr10 --no-show-raw-insn %t/out | FileCheck %s +# RUN: llvm-objdump -d --no-show-raw-insn %t/out | FileCheck %s # CHECK-LABEL: <GetAddrT>: # CHECK: mflr 0 diff --git a/lld/test/ELF/ppc64-tls-pcrel-gd.s b/lld/test/ELF/ppc64-tls-pcrel-gd.s index 1479b43c58aa..e2ec15c8df00 100644 --- a/lld/test/ELF/ppc64-tls-pcrel-gd.s +++ b/lld/test/ELF/ppc64-tls-pcrel-gd.s @@ -10,15 +10,15 @@ # RUN: llvm-readelf -r %t-gd.so | FileCheck %s --check-prefix=GD-RELOC # RUN: llvm-readelf -s %t-gd.so | FileCheck %s --check-prefix=GD-SYM -# RUN: llvm-objdump -d --no-show-raw-insn --mcpu=pwr10 %t-gd.so | FileCheck %s --check-prefix=GD +# RUN: llvm-objdump -d --no-show-raw-insn %t-gd.so | FileCheck %s --check-prefix=GD # RUN: llvm-readelf -r %t-gdtoie | FileCheck %s --check-prefix=GDTOIE-RELOC # RUN: llvm-readelf -s %t-gdtoie | FileCheck %s --check-prefix=GDTOIE-SYM -# RUN: llvm-objdump -d --no-show-raw-insn --mcpu=pwr10 %t-gdtoie | FileCheck %s --check-prefix=GDTOIE +# RUN: llvm-objdump -d --no-show-raw-insn %t-gdtoie | FileCheck %s --check-prefix=GDTOIE # RUN: llvm-readelf -r %t-gdtole | FileCheck %s --check-prefix=GDTOLE-RELOC # RUN: llvm-readelf -s %t-gdtole | FileCheck %s --check-prefix=GDTOLE-SYM -# RUN: llvm-objdump -d --no-show-raw-insn --mcpu=pwr10 %t-gdtole | FileCheck %s --check-prefix=GDTOLE +# RUN: llvm-objdump -d --no-show-raw-insn %t-gdtole | FileCheck %s --check-prefix=GDTOLE ## This test checks the General Dynamic PC Relative TLS implementation for lld. ## GD - General Dynamic with no relaxation possible diff --git a/lld/test/ELF/ppc64-tls-pcrel-ie.s b/lld/test/ELF/ppc64-tls-pcrel-ie.s index 7c759529b942..7eca20438978 100644 --- a/lld/test/ELF/ppc64-tls-pcrel-ie.s +++ b/lld/test/ELF/ppc64-tls-pcrel-ie.s @@ -11,12 +11,12 @@ # RUN: llvm-readelf -r %t-ie | FileCheck %s --check-prefix=IE-RELOC # RUN: llvm-readelf -s %t-ie | FileCheck %s --check-prefix=IE-SYM # RUN: llvm-readelf -x .got %t-ie | FileCheck %s --check-prefix=IE-GOT -# RUN: llvm-objdump -d --no-show-raw-insn --mcpu=pwr10 %t-ie | FileCheck %s --check-prefix=IE +# RUN: llvm-objdump -d --no-show-raw-insn %t-ie | FileCheck %s --check-prefix=IE # RUN: llvm-readelf -r %t-le | FileCheck %s --check-prefix=LE-RELOC # RUN: llvm-readelf -s %t-le | FileCheck %s --check-prefix=LE-SYM # RUN: llvm-readelf -x .got %t-le 2>&1 | FileCheck %s --check-prefix=LE-GOT -# RUN: llvm-objdump -d --no-show-raw-insn --mcpu=pwr10 %t-le | FileCheck %s --check-prefix=LE +# RUN: llvm-objdump -d --no-show-raw-insn %t-le | FileCheck %s --check-prefix=LE ## This test checks the Initial Exec PC Relative TLS implementation. ## The IE version checks that the relocations are generated correctly. diff --git a/lld/test/ELF/ppc64-tls-pcrel-ld.s b/lld/test/ELF/ppc64-tls-pcrel-ld.s index 33ddece4baab..a7f244d54e4d 100644 --- a/lld/test/ELF/ppc64-tls-pcrel-ld.s +++ b/lld/test/ELF/ppc64-tls-pcrel-ld.s @@ -7,12 +7,12 @@ # RUN: llvm-readelf -r %t-ld.so | FileCheck %s --check-prefix=LD-RELOC # RUN: llvm-readelf -s %t-ld.so | FileCheck %s --check-prefix=LD-SYM # RUN: llvm-readelf -x .got %t-ld.so | FileCheck %s --check-prefix=LD-GOT -# RUN: llvm-objdump -d --no-show-raw-insn --mcpu=pwr10 %t-ld.so | FileCheck %s --check-prefix=LD +# RUN: llvm-objdump -d --no-show-raw-insn %t-ld.so | FileCheck %s --check-prefix=LD # RUN: llvm-readelf -r %t-ldtole | FileCheck %s --check-prefix=LDTOLE-RELOC # RUN: llvm-readelf -s %t-ldtole | FileCheck %s --check-prefix=LDTOLE-SYM # RUN: llvm-readelf -x .got %t-ldtole 2>&1 | FileCheck %s --check-prefix=LDTOLE-GOT -# RUN: llvm-objdump -d --no-show-raw-insn --mcpu=pwr10 %t-ldtole | FileCheck %s --check-prefix=LDTOLE +# RUN: llvm-objdump -d --no-show-raw-insn %t-ldtole | FileCheck %s --check-prefix=LDTOLE ## This test checks the Local Dynamic PC Relative TLS implementation for lld. ## LD - Local Dynamic with no relaxation possible diff --git a/lld/test/ELF/ppc64-tls-pcrel-le.s b/lld/test/ELF/ppc64-tls-pcrel-le.s index 683a3260c1e5..7dd2a768fcf6 100644 --- a/lld/test/ELF/ppc64-tls-pcrel-le.s +++ b/lld/test/ELF/ppc64-tls-pcrel-le.s @@ -2,12 +2,12 @@ # RUN: llvm-mc -filetype=obj -triple=powerpc64le %s -o %t.o # RUN: ld.lld %t.o -o %t # RUN: llvm-readelf -s %t | FileCheck %s --check-prefix=SYMBOL -# RUN: llvm-objdump -d --no-show-raw-insn --mcpu=pwr10 %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.o -o %t # RUN: llvm-readelf -s %t | FileCheck %s --check-prefix=SYMBOL -# RUN: llvm-objdump -d --no-show-raw-insn --mcpu=pwr10 %t | FileCheck %s +# RUN: llvm-objdump -d --no-show-raw-insn %t | FileCheck %s ## This test checks the LLD implementation of the Local Exec TLS model ## when using prefixed instructions like paddi. diff --git a/lld/test/ELF/ppc64-toc-call-to-pcrel-long-jump.s b/lld/test/ELF/ppc64-toc-call-to-pcrel-long-jump.s index f8810130fa9c..bd99357fe2bf 100644 --- a/lld/test/ELF/ppc64-toc-call-to-pcrel-long-jump.s +++ b/lld/test/ELF/ppc64-toc-call-to-pcrel-long-jump.s @@ -3,17 +3,17 @@ # RUN: llvm-mc -filetype=obj -triple=powerpc64le %t/asm -o %t.o # RUN: ld.lld -T %t/lts %t.o -o %t_le -# RUN: llvm-objdump --mcpu=pwr10 --no-show-raw-insn -d %t_le | FileCheck %s +# RUN: llvm-objdump --no-show-raw-insn -d %t_le | FileCheck %s # RUN: llvm-readelf -s %t_le | FileCheck %s --check-prefix=SYM # RUN: llvm-mc -filetype=obj -triple=powerpc64 %t/asm -o %t.o # RUN: ld.lld -T %t/lts %t.o -o %t_be -# RUN: llvm-objdump --mcpu=pwr10 --no-show-raw-insn -d %t_be | FileCheck %s +# RUN: llvm-objdump --no-show-raw-insn -d %t_be | FileCheck %s # RUN: llvm-readelf -s %t_be | FileCheck %s --check-prefix=SYM # RUN: llvm-mc -filetype=obj -triple=powerpc64le %t/asm -o %t.o # RUN: ld.lld -T %t/lts %t.o -o %t_le --no-power10-stubs -# RUN: llvm-objdump --mcpu=pwr10 --no-show-raw-insn -d %t_le | FileCheck %s --check-prefix=NoP10 +# RUN: llvm-objdump --no-show-raw-insn -d %t_le | FileCheck %s --check-prefix=NoP10 # RUN: llvm-readelf -s %t_le | FileCheck %s --check-prefix=SYM # SYM: Symbol table '.symtab' contains 9 entries: |