* elf32-spu.c (build_stub): Fix malloc under-allocation.
[binutils.git] / ld / testsuite / ld-arm / tls-longplt.s
blob42eea19c3fcf0054dc06ffce5bd7c56d5d2914b0
1 .syntax unified
2 .text
3 text:
4 .arm
5 ldr r0,1f
6 2: blx udefw(tlscall)
7 nop
8 .p2align 2
9 1: .word udefw(tlsdesc) + (. - 2b)
11 .thumb
12 ldr r0,1f
13 2: blx udefw(tlscall)
14 nop
15 .p2align 2
16 1: .word udefw(tlsdesc) + (. - 2b + 1)
18 .section ".foo","ax"
19 foo:
20 .arm
21 ldr r0,1f
22 2: blx glob1(tlscall)
23 nop
24 .p2align 2
25 1: .word glob1(tlsdesc) + (. - 2b)
27 .arm
28 ldr r0,1f
29 2: blx udefw(tlscall)
30 nop
31 .p2align 2
32 1: .word udefw(tlsdesc) + (. - 2b)
34 .thumb
35 ldr r0,1f
36 2: blx udefw(tlscall)
37 nop
38 .p2align 2
39 1: .word udefw(tlsdesc) + (. - 2b + 1)
41 .section .tdata,"awT"
42 @ glob used by tls-longplt-lib
43 .type glob, %object
44 .globl glob
45 glob: .space 4
46 .globl udefw
47 .weak udefw