brintos

brintos / llvm-project-archived public Read only

0
0
Text · 510 B · 27066d0 Raw
28 lines · plain
1// REQUIRES: aarch642// RUN: llvm-mc -filetype=obj -triple=aarch64 %s -o %t.o3// RUN: ld.lld -static %t.o -o %tout4// RUN: llvm-readobj --symbols %tout | FileCheck %s5 6// Check that no __rela_iplt_end/__rela_iplt_start7// appear in symtab if there is no references to them.8// CHECK:      Symbols [9// CHECK-NOT: __rela_iplt_end10// CHECK-NOT: __rela_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 bl foo27 bl bar28