• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// REQUIRES: arm
2// RUN: llvm-mc -filetype=obj -triple=armv7a-none-linux-gnueabi %s -o %t.o
3// RUN: ld.lld -static %t.o -o %tout
4// RUN: llvm-readobj --symbols %tout | FileCheck %s
5
6// Check that no __rel_iplt_end/__rel_iplt_start
7// appear in symtab if there are no references to them.
8// CHECK:      Symbols [
9// CHECK-NOT: __rel_iplt_end
10// CHECK-NOT: __rel_iplt_start
11// CHECK: ]
12 .syntax unified
13 .text
14 .type foo STT_GNU_IFUNC
15 .globl foo
16foo:
17 bx lr
18
19 .type bar STT_GNU_IFUNC
20 .globl bar
21bar:
22 bx lr
23
24 .globl _start
25_start:
26 bl foo
27 bl bar
28