fe77abccca7372011fc0f561730d70b3b299a453
[platform/upstream/binutils.git] / ld / testsuite / ld-arm / gc-hidden-1.d
1 #target: arm*-*-*eabi*
2 #source: main.s
3 #source: gcdfn.s
4 #source: hidfn.s
5 #ld: --gc-sections --shared --version-script hideall.ld
6 #objdump: -dRT
7
8 # See PR ld/13990: a forced-local PLT reference to a
9 # forced-local symbol is GC'ed, trigging a BFD_ASSERT.
10
11 .*:     file format elf32-.*
12
13 DYNAMIC SYMBOL TABLE:
14 0+124 l    d  .text     0+              .text
15 0+ g    DO \*ABS\*      0+  NS          NS
16
17 Disassembly of section .text:
18
19 0+124 <_start>:
20  124:   e52de004        push    {lr}            ; \(str lr, \[sp, #-4\]!\)
21  128:   eb000000        bl      130 <hidfn>
22  12c:   e8bd8000        ldmfd   sp!, {pc}
23
24 0+130 <hidfn>:
25  130:   e8bd8000        ldmfd   sp!, {pc}