* elf32-spu.c (build_stub): Fix malloc under-allocation.
[binutils.git] / gas / testsuite / gas / arm / got_prel.s
blob9628d47242873daa5918140bb29372ccf81ef762
1 .code 16
2 .text
3 .Ltext0:
4 .section .text.foo,"ax",%progbits
5 .align 2
6 .global foo
7 .code 16
8 .thumb_func
9 .type foo, %function
10 foo:
11 .fnstart
12 ldr r3, .L3
13 .LPIC0:
14 add r3, pc
15 ldr r3, [r3]
16 ldr r2, [r3]
17 str r0, [r3]
18 mov r0, r2
19 bx lr
20 .align 2
21 .L3:
22 .word i(GOT_PREL) + (. - (.LPIC0+4))
23 .fnend