Skip to content

Commit 8dba1cd

Browse files
committed
Do not use terms 'external' and 'local'
1 parent 9d16e93 commit 8dba1cd

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lld/test/ELF/aarch64-got-relocations-pauth.s

+6-6
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
#--- ok.s
99
# RUN: llvm-mc -filetype=obj -triple=aarch64 ok.s -o ok.o
1010

11-
# RUN: ld.lld ok.o a.so -pie -o external
12-
# RUN: llvm-readelf -r -S -x .got external | FileCheck %s --check-prefix=EXTERNAL
11+
# RUN: ld.lld ok.o a.so -pie -o ok1
12+
# RUN: llvm-readelf -r -S -x .got ok1 | FileCheck %s --check-prefix=EXTERNAL
1313

14-
# RUN: ld.lld ok.o a.o -pie -o local
15-
# RUN: llvm-readelf -r -S -x .got -s local | FileCheck %s --check-prefix=LOCAL
14+
# RUN: ld.lld ok.o a.o -pie -o ok2
15+
# RUN: llvm-readelf -r -S -x .got -s ok2 | FileCheck %s --check-prefix=LOCAL
1616

1717
# EXTERNAL: Offset Info Type Symbol's Value Symbol's Name + Addend
1818
# EXTERNAL-NEXT: 0000000000020380 0000000100000412 R_AARCH64_AUTH_GLOB_DAT 0000000000000000 bar + 0
@@ -42,7 +42,7 @@
4242
## ^^
4343
## 0b10100000 bit 63 address diversity = true, bits 61..60 key = DA
4444

45-
# RUN: llvm-objdump -d external | FileCheck %s --check-prefix=EXTERNAL-ASM
45+
# RUN: llvm-objdump -d ok1 | FileCheck %s --check-prefix=EXTERNAL-ASM
4646

4747
# EXTERNAL-ASM: <_start>:
4848
# EXTERNAL-ASM-NEXT: adrp x0, 0x20000
@@ -54,7 +54,7 @@
5454
# EXTERNAL-ASM-NEXT: adrp x1, 0x20000
5555
# EXTERNAL-ASM-NEXT: add x1, x1, #0x388
5656

57-
# RUN: llvm-objdump -d local | FileCheck %s --check-prefix=LOCAL-ASM
57+
# RUN: llvm-objdump -d ok2 | FileCheck %s --check-prefix=LOCAL-ASM
5858

5959
# LOCAL-ASM: <_start>:
6060
# LOCAL-ASM-NEXT: adrp x0, 0x20000

0 commit comments

Comments
 (0)