Upload Tizen:Base source
[external/binutils.git] / gas / testsuite / gas / cr16 / pic1.s
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)
19
20         .globl  _text_address_1
21         .type   _text_address_1, @function
22 _text_address_1:
23         jump    (ra)