[memprof] Remove an unused using directive (#117004)
[llvm-project.git] / lld / test / ELF / aarch64-nopic-plt.s
blob91d150d44b75681ffeee993b66d2e12974f6fdcb
1 // REQUIRES: aarch64
2 // RUN: llvm-mc %s -o %t.o -filetype=obj -triple=aarch64-pc-linux
3 // RUN: llvm-mc %p/Inputs/aarch64-copy2.s -o %t2.o -filetype=obj -triple=aarch64-pc-linux
4 // RUN: ld.lld %t2.o -o %t2.so -shared -soname=t2.so
5 // RUN: ld.lld %t.o %t2.so -o %t
6 // RUN: llvm-readobj --symbols %t | FileCheck %s
8 .global _start
9 _start:
10 adrp x8, foo
11 bl bar
13 // CHECK: Name: foo
14 // CHECK-NEXT: Value: 0x2102F0
15 // CHECK-NEXT: Size: 0
16 // CHECK-NEXT: Binding: Global
17 // CHECK-NEXT: Type: Function
18 // CHECK-NEXT: Other: 0
19 // CHECK-NEXT: Section: Undefined
21 // CHECK: Name: bar
22 // CHECK-NEXT: Value: 0x0
23 // CHECK-NEXT: Size: 0
24 // CHECK-NEXT: Binding: Global
25 // CHECK-NEXT: Type: None
26 // CHECK-NEXT: Other: 0
27 // CHECK-NEXT: Section: Undefined