Skip to content

Commit ec950b2

Browse files
committed
[ELF,test] Replace aarch64-none-* with aarch64
"none" is valid OS component and can cause confusion when used together with linux/freebsd.
1 parent 6d98f11 commit ec950b2

34 files changed

+40
-40
lines changed

lld/test/ELF/aarch64-abs64-dyn.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// REQUIRES: aarch64
2-
// RUN: llvm-mc -filetype=obj -triple=aarch64-none-linux %s -o %t.o
2+
// RUN: llvm-mc -filetype=obj -triple=aarch64 %s -o %t.o
33

44
// Creates a R_AARCH64_ABS64 relocation against foo and bar
55
.globl foo

lld/test/ELF/aarch64-cortex-a53-843419-address.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// REQUIRES: aarch64
2-
// RUN: llvm-mc -filetype=obj -triple=aarch64-none-linux %s -o %t.o
2+
// RUN: llvm-mc -filetype=obj -triple=aarch64 %s -o %t.o
33
// RUN: echo "SECTIONS { \
44
// RUN: .text : { *(.text) *(.text.*) *(.newisd) } \
55
// RUN: .text2 : { *.(newos) } \

lld/test/ELF/aarch64-cortex-a53-843419-large.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// REQUIRES: aarch64
2-
// RUN: llvm-mc -filetype=obj -triple=aarch64-none-linux %s -o %t.o
2+
// RUN: llvm-mc -filetype=obj -triple=aarch64 %s -o %t.o
33
// RUN: ld.lld --fix-cortex-a53-843419 -z separate-code %t.o -o %t2
44
// RUN: llvm-objdump --triple=aarch64-linux-gnu -d %t2 --start-address=0x210000 --stop-address=0x21000c | FileCheck --check-prefix=CHECK1 %s
55
// RUN: llvm-objdump --triple=aarch64-linux-gnu -d %t2 --start-address=0x211000 --stop-address=0x211004 | FileCheck --check-prefix=CHECK2 %s

lld/test/ELF/aarch64-cortex-a53-843419-large2.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// REQUIRES: aarch64
2-
// RUN: llvm-mc -filetype=obj -triple=aarch64-none-linux %s -o %t.o
2+
// RUN: llvm-mc -filetype=obj -triple=aarch64 %s -o %t.o
33
// RUN: ld.lld --fix-cortex-a53-843419 -Ttext=0x8000000 %t.o -o %t2
44
// RUN: llvm-objdump -d --start-address=0x8001000 --stop-address=0x8001004 %t2 | FileCheck %s
55
/// The temporary files are more than 128MiB. Delete them early.

lld/test/ELF/aarch64-cortex-a53-843419-nopatch.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// REQUIRES: aarch64
2-
// RUN: llvm-mc -filetype=obj -triple=aarch64-none-linux %s -o %t.o
2+
// RUN: llvm-mc -filetype=obj -triple=aarch64 %s -o %t.o
33
// RUN: ld.lld -fix-cortex-a53-843419 -verbose -t %t.o -o /dev/null | FileCheck %s
44
// Test cases for Cortex-A53 Erratum 843419 that we don't expect to recognize
55
// as needing a patch as one or more of the conditions isn't satisfied.

lld/test/ELF/aarch64-cortex-a53-843419-recognize.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// REQUIRES: aarch64
2-
// RUN: llvm-mc -filetype=obj -triple=aarch64-none-linux %s -o %t.o
2+
// RUN: llvm-mc -filetype=obj -triple=aarch64 %s -o %t.o
33
// RUN: ld.lld -fix-cortex-a53-843419 -z separate-code -verbose %t.o -o %t2 2>&1 | FileCheck -check-prefix CHECK-PRINT %s
44
// RUN: llvm-objdump --no-print-imm-hex --triple=aarch64-linux-gnu -d %t2 | FileCheck %s --check-prefixes=CHECK,CHECK-FIX
55
// RUN: ld.lld %t.o -z separate-code -o %t3

lld/test/ELF/aarch64-cortex-a53-843419-thunk-align.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// REQUIRES: aarch64
2-
// RUN: llvm-mc -filetype=obj -triple=aarch64-none-linux %s -o %t.o
2+
// RUN: llvm-mc -filetype=obj -triple=aarch64 %s -o %t.o
33
// RUN: echo "SECTIONS { \
44
// RUN: .text 0x10000 : { \
55
// RUN: *(.text.01) ; \

lld/test/ELF/aarch64-cortex-a53-843419-thunk.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// REQUIRES: aarch64
2-
// RUN: llvm-mc -filetype=obj -triple=aarch64-none-linux %s -o %t.o
2+
// RUN: llvm-mc -filetype=obj -triple=aarch64 %s -o %t.o
33
// RUN: echo "SECTIONS { \
44
// RUN: .text1 0x10000 : { *(.text.01) *(.text.02) *(.text.03) } \
55
// RUN: .text2 0x10010000 : { *(.text.04) } } " > %t.script

lld/test/ELF/aarch64-cortex-a53-843419-tlsrelax.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// REQUIRES: aarch64
2-
// RUN: llvm-mc -filetype=obj -triple=aarch64-none-linux %s -o %t.o
2+
// RUN: llvm-mc -filetype=obj -triple=aarch64 %s -o %t.o
33
// RUN: ld.lld -fix-cortex-a53-843419 %t.o -o %t2
44
// RUN: llvm-objdump --no-print-imm-hex --triple=aarch64-linux-gnu -d %t2 | FileCheck %s
55

lld/test/ELF/aarch64-fpic-abs16.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// REQUIRES: aarch64
2-
// RUN: llvm-mc -filetype=obj -triple=aarch64-none-freebsd %s -o %t.o
2+
// RUN: llvm-mc -filetype=obj -triple=aarch64 %s -o %t.o
33
// RUN: not ld.lld -shared %t.o -o /dev/null 2>&1 | FileCheck %s
44
// CHECK: relocation R_AARCH64_ABS16 cannot be used against symbol 'foo'; recompile with -fPIC
55
// CHECK-NEXT: >>> defined in {{.*}}.o

0 commit comments

Comments
 (0)