reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
// 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