28 lines · plain
1// REQUIRES: x862// RUN: llvm-mc -filetype=obj -triple=i686-pc-linux %s -o %t.o3// RUN: ld.lld -static %t.o -o %tout4// RUN: llvm-readobj --symbols %tout | FileCheck %s5 6// Check that no __rel_iplt_end/__rel_iplt_start7// appear in symtab if there is no references to them.8// CHECK: Symbols [9// CHECK-NOT: __rel_iplt_end10// CHECK-NOT: __rel_iplt_start11// CHECK: ]12 13.text14.type foo STT_GNU_IFUNC15.globl foo16foo:17 ret18 19.type bar STT_GNU_IFUNC20.globl bar21bar:22 ret23 24.globl _start25_start:26 call foo27 call bar28