* elf32-spu.c (build_stub): Fix malloc under-allocation.
[binutils.git] / gas / testsuite / gas / cr16 / pic1.s
blob23f0cc8ae1fd1a7cfc5f9ae0745ede1d08e141f1
1 .section .text
2 .globl _text_pointer
3 .section .data.rel
4 .type _text_pointer, @object
5 _text_pointer:
6 .long _text_address@c
7 .section .text
8 .globl _main
9 .type _main, @function
10 _main:
11 ######################
12 # Data symbols
13 ######################
14 movd $_text_pointer@l, (r1,r0)
15 ######################
16 # Code symbol with cpic
17 ######################
18 movd $_text_address_1@cpic, (r1,r0)
20 .globl _text_address_1
21 .type _text_address_1, @function
22 _text_address_1:
23 jump (ra)