llvm-project/lld/test/ELF/gnu-ifunc-empty.s

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
487 B
ArmAsm
Raw Normal View History

// REQUIRES: x86
// Verifies that .rela_iplt_{start,end} point to a dummy section
// if .rela.iplt does not exist.
// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
// RUN: ld.lld -static %t.o -o %t.exe
// RUN: llvm-objdump -syms %t.exe | FileCheck %s
// CHECK: 0000000000200000 .text 00000000 .hidden __rela_iplt_end
// CHECK: 0000000000200000 .text 00000000 .hidden __rela_iplt_start
.globl _start
_start:
movl $__rela_iplt_start, %edx
movl $__rela_iplt_end, %edx