[memprof] Remove an unused using directive (#117004)
[llvm-project.git] / lld / test / ELF / x86-64-got-plt-header.s
blob801e106886d9c3de0c537b46289a4cfc1ce9adcd
1 // REQUIRES: x86
2 // RUN: llvm-mc %s -o %t.o -filetype=obj -triple=x86_64-pc-linux
3 // RUN: ld.lld %t.o -o %t.so -shared
4 // RUN: llvm-readobj -S --section-data %t.so | FileCheck %s
6 call foo@plt
8 // Check that the first .got.plt entry has the address of the dynamic table.
10 // CHECK: Type: SHT_DYNAMIC
11 // CHECK-NEXT: Flags [
12 // CHECK-NEXT: SHF_ALLOC
13 // CHECK-NEXT: SHF_WRITE
14 // CHECK-NEXT: ]
15 // CHECK-NEXT: Address: 0x22B0
17 // CHECK: Name: .got.plt
18 // CHECK-NEXT: Type: SHT_PROGBITS
19 // CHECK-NEXT: Flags [
20 // CHECK-NEXT: SHF_ALLOC
21 // CHECK-NEXT: SHF_WRITE
22 // CHECK-NEXT: ]
23 // CHECK-NEXT: Address: 0x3360
24 // CHECK-NEXT: Offset: 0x360
25 // CHECK-NEXT: Size: 32
26 // CHECK-NEXT: Link: 0
27 // CHECK-NEXT: Info: 0
28 // CHECK-NEXT: AddressAlignment: 8
29 // CHECK-NEXT: EntrySize: 0
30 // CHECK-NEXT: SectionData (
31 // CHECK-NEXT: 0000: B0220000 00000000 00000000 00000000