File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 8
8
#--- ok.s
9
9
# RUN: llvm-mc -filetype=obj -triple=aarch64 ok.s -o ok.o
10
10
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
13
13
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
16
16
17
17
# EXTERNAL: Offset Info Type Symbol's Value Symbol's Name + Addend
18
18
# EXTERNAL-NEXT: 0000000000020380 0000000100000412 R_AARCH64_AUTH_GLOB_DAT 0000000000000000 bar + 0
42
42
## ^^
43
43
## 0b10100000 bit 63 address diversity = true, bits 61..60 key = DA
44
44
45
- # RUN: llvm-objdump -d external | FileCheck %s --check-prefix=EXTERNAL-ASM
45
+ # RUN: llvm-objdump -d ok1 | FileCheck %s --check-prefix=EXTERNAL-ASM
46
46
47
47
# EXTERNAL-ASM: <_start>:
48
48
# EXTERNAL-ASM-NEXT: adrp x0, 0x20000
54
54
# EXTERNAL-ASM-NEXT: adrp x1, 0x20000
55
55
# EXTERNAL-ASM-NEXT: add x1, x1, #0x388
56
56
57
- # RUN: llvm-objdump -d local | FileCheck %s --check-prefix=LOCAL-ASM
57
+ # RUN: llvm-objdump -d ok2 | FileCheck %s --check-prefix=LOCAL-ASM
58
58
59
59
# LOCAL-ASM: <_start>:
60
60
# LOCAL-ASM-NEXT: adrp x0, 0x20000
You can’t perform that action at this time.
0 commit comments