[memprof] Remove an unused using directive (#117004)
[llvm-project.git] / lld / test / ELF / gnu-ifunc-empty.s
blob90097d917dfe0c7a11c27a7acdf65a011a8f1445
1 // REQUIRES: x86
3 // Verifies that .rela_iplt_{start,end} point to a dummy section
4 // if .rela.iplt does not exist.
6 // RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
7 // RUN: ld.lld -static %t.o -o %t.exe
8 // RUN: llvm-readelf -S -s %t.exe | FileCheck %s
10 // CHECK: Name Type Address Off
11 // CHECK: .text PROGBITS 0000000000201120 000120
12 // CHECK: Value Size Type Bind Vis Ndx Name
13 // CHECK: 0000000000200000 0 NOTYPE LOCAL HIDDEN 1 __rela_iplt_start
14 // CHECK: 0000000000200000 0 NOTYPE LOCAL HIDDEN 1 __rela_iplt_end
16 .globl _start
17 _start:
18 movl $__rela_iplt_start, %edx
19 movl $__rela_iplt_end, %edx