File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 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
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
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
You can’t perform that action at this time.
0 commit comments