brintos

brintos / llvm-project-archived public Read only

0
0
Text · 547 B · 71d40f0 Raw
28 lines · plain
1// REQUIRES: arm2// RUN: llvm-mc -filetype=obj -triple=armv7a-none-linux-gnueabi %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 are no references to them.8// CHECK:      Symbols [9// CHECK-NOT: __rel_iplt_end10// CHECK-NOT: __rel_iplt_start11// CHECK: ]12 .syntax unified13 .text14 .type foo STT_GNU_IFUNC15 .globl foo16foo:17 bx lr18 19 .type bar STT_GNU_IFUNC20 .globl bar21bar:22 bx lr23 24 .globl _start25_start:26 bl foo27 bl bar28