* elf32-spu.c (build_stub): Fix malloc under-allocation.
[binutils.git] / ld / testsuite / ld-arm / tls-gdierelax2.s
blob2f4edadfdf46dc69582413e3087f3b5b30d43586
1 .text
2 .arm
3 .globl foo
4 .type foo, %function
5 foo:
6 nop
7 3: ldr r0,1f
8 2: bl lib_gd2(tlscall)
9 nop
12 .word lib_gd2(tlsdesc) + (. - 2b)
13 .word lib_gd2(gottpoff) + (. - 3b - 8)
15 .thumb
16 .globl bar
17 .type bar, %function
18 bar:
19 3: ldr r0,1f
20 2: blx lib_gd2(tlscall)
21 nop
23 .p2align 2
25 .word lib_gd2(tlsdesc) + (. - 2b + 1)
26 .word lib_gd2(gottpoff) + (. - 3b - 4)
28 .globl _start
29 _start:
31 .section .tdata,"awT"
32 .global lib_gd2
33 lib_gd2:
34 .space 4