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

lld/test/ELF/aarch64-fpic-add_abs_lo12_nc.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: error: relocation R_AARCH64_ADD_ABS_LO12_NC cannot be used against symbol 'dat'; recompile with -fPIC
55
// CHECK: >>> defined in {{.*}}.o

lld/test/ELF/aarch64-fpic-adr_prel_lo21.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: error: relocation R_AARCH64_ADR_PREL_LO21 cannot be used against symbol 'dat'; recompile with -fPIC
55
// CHECK: >>> defined in {{.*}}.o

lld/test/ELF/aarch64-fpic-adr_prel_pg_hi21.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: error: relocation R_AARCH64_ADR_PREL_PG_HI21 cannot be used against symbol 'dat'; recompile with -fPIC
55
// CHECK: >>> defined in {{.*}}.o

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# RUN: rm -rf %t && split-file %s %t && cd %t
44

5-
# RUN: llvm-mc -filetype=obj -triple=aarch64-none-linux %p/Inputs/shared.s -o lib.o
5+
# RUN: llvm-mc -filetype=obj -triple=aarch64 %p/Inputs/shared.s -o lib.o
66
# RUN: ld.lld -shared lib.o -soname lib.so -o lib.so
77

88
## Checks if got access to dynamic objects is done through a got relative
@@ -13,7 +13,7 @@
1313

1414
#--- small.s
1515

16-
# RUN: llvm-mc -filetype=obj -triple=aarch64-none-linux small.s -o small.o
16+
# RUN: llvm-mc -filetype=obj -triple=aarch64 small.s -o small.o
1717
# RUN: ld.lld lib.so small.o -o small
1818
# RUN: llvm-readobj -r small | FileCheck --check-prefix=RELOC %s
1919
# RUN: llvm-objdump -d --no-show-raw-insn small | FileCheck --check-prefix=DIS-SMALL %s
@@ -30,7 +30,7 @@ _start:
3030

3131
#--- tiny.s
3232

33-
# RUN: llvm-mc -filetype=obj -triple=aarch64-none-linux tiny.s -o tiny.o
33+
# RUN: llvm-mc -filetype=obj -triple=aarch64 tiny.s -o tiny.o
3434
# RUN: ld.lld lib.so tiny.o -o tiny
3535
# RUN: llvm-readobj -r tiny | FileCheck --check-prefix=RELOC %s
3636
# RUN: llvm-objdump -d --no-show-raw-insn tiny | FileCheck --check-prefix=DIS-TINY %s

lld/test/ELF/aarch64-fpic-ldst32_abs_lo12_nc.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: error: relocation R_AARCH64_LDST32_ABS_LO12_NC cannot be used against symbol 'dat'; recompile with -fPIC
55
// CHECK: >>> defined in {{.*}}.o

lld/test/ELF/aarch64-fpic-ldst64_abs_lo12_nc.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: error: relocation R_AARCH64_LDST64_ABS_LO12_NC cannot be used against symbol 'dat'; recompile with -fPIC
55
// CHECK: >>> defined in {{.*}}.o

lld/test/ELF/aarch64-fpic-ldst8_abs_lo12_nc.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: error: relocation R_AARCH64_LDST8_ABS_LO12_NC cannot be used against symbol 'dat'; recompile with -fPIC
55
// CHECK: >>> defined in {{.*}}.o

lld/test/ELF/aarch64-fpic-prel16.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: R_AARCH64_PREL16 cannot be used against symbol 'foo'; recompile with -fPIC
55
// CHECK: >>> defined in {{.*}}

lld/test/ELF/aarch64-fpic-prel32.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: error: relocation R_AARCH64_PREL32 cannot be used against symbol 'foo'; recompile with -fPIC
55
// CHECK: >>> defined in {{.*}}

lld/test/ELF/aarch64-fpic-prel64.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: error: relocation R_AARCH64_PREL64 cannot be used against symbol 'foo'; recompile with -fPIC
55
// CHECK: >>> defined in {{.*}}

lld/test/ELF/aarch64-gnu-ifunc-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-gnu %s -o %t.o
2+
# RUN: llvm-mc -filetype=obj -triple=aarch64 %s -o %t.o
33
# RUN: ld.lld -shared %t.o -o %tout
44
# RUN: llvm-objdump --no-print-imm-hex -D --no-show-raw-insn %tout | FileCheck %s
55
# RUN: llvm-readobj -r %tout | FileCheck %s --check-prefix=CHECK-RELOCS

lld/test/ELF/aarch64-gnu-ifunc-nonpreemptable.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-gnu %s -o %t.o
2+
# RUN: llvm-mc -filetype=obj -triple=aarch64 %s -o %t.o
33

44
# RUN: ld.lld --no-relax %t.o -o %t
55
# RUN: llvm-objdump --no-print-imm-hex -d --no-show-raw-insn %t | FileCheck %s --check-prefix=PDE

lld/test/ELF/aarch64-gnu-ifunc-nonpreemptable2.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-gnu %s -o %t.o
2+
# RUN: llvm-mc -filetype=obj -triple=aarch64 %s -o %t.o
33
# RUN: ld.lld %t.o -o %t
44
# RUN: llvm-readelf -S -s %t | FileCheck %s --check-prefix=SEC
55
# RUN: llvm-readelf -x .rodata -x .data %t | FileCheck --check-prefix=HEX %s

lld/test/ELF/aarch64-gnu-ifunc-nosym.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-gnu %s -o %t.o
2+
// RUN: llvm-mc -filetype=obj -triple=aarch64 %s -o %t.o
33
// RUN: ld.lld -static %t.o -o %tout
44
// RUN: llvm-readobj --symbols %tout | FileCheck %s
55

lld/test/ELF/aarch64-gnu-ifunc-plt.s

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// REQUIRES: aarch64
2-
// RUN: llvm-mc -filetype=obj -triple=aarch64-none-linux-gnu %S/Inputs/shared2.s -o %t1.o
2+
// RUN: llvm-mc -filetype=obj -triple=aarch64 %S/Inputs/shared2.s -o %t1.o
33
// RUN: ld.lld %t1.o --shared --soname=t.so -o %t.so
4-
// RUN: llvm-mc -filetype=obj -triple=aarch64-none-linux-gnu %s -o %t.o
4+
// RUN: llvm-mc -filetype=obj -triple=aarch64 %s -o %t.o
55
// RUN: ld.lld --hash-style=sysv %t.so %t.o -o %tout
66
// RUN: llvm-objdump --no-print-imm-hex -d --no-show-raw-insn %tout | FileCheck %s --check-prefix=DISASM
77
// RUN: llvm-objdump -s %tout | FileCheck %s --check-prefix=GOTPLT

lld/test/ELF/aarch64-gnu-ifunc.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-gnu %s -o %t.o
2+
// RUN: llvm-mc -filetype=obj -triple=aarch64 %s -o %t.o
33
// RUN: ld.lld -static %t.o -o %tout
44
// RUN: llvm-objdump --no-print-imm-hex -d --no-show-raw-insn %tout | FileCheck %s --check-prefix=DISASM
55
// RUN: llvm-readobj -r --symbols --sections %tout | FileCheck %s

lld/test/ELF/aarch64-gnu-ifunc2.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-gnu %s -o %t.o
2+
# RUN: llvm-mc -filetype=obj -triple=aarch64 %s -o %t.o
33
# RUN: ld.lld %t.o -o %t
44
# RUN: llvm-objdump -d --no-show-raw-insn --print-imm-hex %t | FileCheck %s
55
# RUN: llvm-readelf -S %t | FileCheck %s --check-prefix=SEC

lld/test/ELF/aarch64-got-weak-undef.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: ld.lld %t.o -o %t
44
// RUN: llvm-readelf -r %t | FileCheck --check-prefix=RELOC %s
55
// RUN: llvm-readelf -x .got %t | FileCheck %s

lld/test/ELF/aarch64-ifunc-bti.s

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# REQUIRES: aarch64
2-
# RUN: llvm-mc -filetype=obj -triple=aarch64-none-linux-gnu %s -o %t.o
3-
# RUN: llvm-mc -filetype=obj -triple=aarch64-none-linux-gnu %p/Inputs/aarch64-addrifunc.s -o %t1.o
2+
# RUN: llvm-mc -filetype=obj -triple=aarch64 %s -o %t.o
3+
# RUN: llvm-mc -filetype=obj -triple=aarch64 %p/Inputs/aarch64-addrifunc.s -o %t1.o
44

55
# RUN: ld.lld --shared --soname=t1.so %t1.o -o %t1.so
66
# RUN: ld.lld --pie %t1.so %t.o -o %t

lld/test/ELF/aarch64-lo12-alignment.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
2+
// RUN: llvm-mc -filetype=obj -triple=aarch64 %s -o %t
33
// RUN: not ld.lld %t -o /dev/null 2>&1 | FileCheck %s
44

55
// Test derived from a typical ODR violation where a global is declared

lld/test/ELF/aarch64-memtag-android-abi.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
## maintained, i.e. new versions of the linker will still produce binaries that
66
## can be run on these versions of Android.
77

8-
# RUN: llvm-mc --filetype=obj -triple=aarch64-none-linux-android %s -o %t.o
8+
# RUN: llvm-mc --filetype=obj -triple=aarch64-linux-android %s -o %t.o
99
# RUN: ld.lld -shared --android-memtag-mode=async --android-memtag-heap %t.o -o %t
1010
# RUN: llvm-readelf --memtag %t | FileCheck %s --check-prefixes=CHECK,HEAP,NOSTACK,ASYNC
1111

lld/test/ELF/aarch64-memtag-globals.s

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ Symbols:
5454

5555
## Functional testing for MTE globals.
5656
# RUN: split-file %S/Inputs/aarch64-memtag-globals.s %t
57-
# RUN: llvm-mc --filetype=obj -triple=aarch64-none-linux-android \
57+
# RUN: llvm-mc --filetype=obj -triple=aarch64-linux-android \
5858
# RUN: %t/input_1.s -o %t1.o
59-
# RUN: llvm-mc --filetype=obj -triple=aarch64-none-linux-android \
59+
# RUN: llvm-mc --filetype=obj -triple=aarch64-linux-android \
6060
# RUN: %t/input_2.s -o %t2.o
6161
# RUN: ld.lld -shared --android-memtag-mode=sync %t1.o %t2.o -o %t.so
6262

@@ -76,7 +76,7 @@ Symbols:
7676
## Ensure that fully statically linked executables just simply drop the MTE
7777
## globals stuff: special relocations, data in the place to be relocated,
7878
## dynamic entries, etc.
79-
# RUN: llvm-mc --filetype=obj -triple=aarch64-none-linux-android \
79+
# RUN: llvm-mc --filetype=obj -triple=aarch64-linux-android \
8080
# RUN: %t/input_3.s -o %t3.o
8181
# RUN: ld.lld -static --android-memtag-mode=sync %t1.o %t2.o %t3.o -o %t.static.so
8282
# RUN: llvm-readelf -s --section-headers --relocs --memtag %t.static.so | \

lld/test/ELF/aarch64-undefined-weak.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 --image-base=0x10000000 %t.o -o %t
44
// RUN: llvm-objdump -d -z --no-show-raw-insn %t | FileCheck %s
55

lld/test/ELF/pack-dyn-relocs-loop.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// REQUIRES: arm, aarch64
22

3-
// RUN: llvm-mc -filetype=obj -triple=aarch64-none-linux-android %s -o %t.o
3+
// RUN: llvm-mc -filetype=obj -triple=aarch64-linux-android %s -o %t.o
44
// RUN: ld.lld -shared %t.o -o %t.so --pack-dyn-relocs=android -z norelro -z separate-code
55
// RUN: llvm-readobj -S %t.so | FileCheck %s
66

0 commit comments

Comments
 (0)