Upload Tizen:Base source
[external/binutils.git] / gas / testsuite / gas / cfi / cfi-sh-1.s
1         .file   "a.c"
2         .text
3         .align  1
4         .globl foo
5         .type   foo, @function
6 foo:
7         .cfi_startproc
8         mov.l   r14,@-r15
9         .cfi_adjust_cfa_offset 4
10         sts.l   pr,@-r15
11         .cfi_adjust_cfa_offset 4
12         .cfi_offset r15,-4
13         .cfi_offset pr,-8
14         tst     r4,r4
15         bt/s    .L2
16         mov     r15,r14
17         .cfi_def_cfa_register r14
18         add     #-32,r15
19         .cfi_adjust_cfa_offset 32
20         mov.l   .L3,r0
21         jsr     @r0
22         mov     r15,r4
23 .L2:
24         mov.l   .L4,r0
25         jsr     @r0
26         nop
27         mov     #0,r0
28         mov     r14,r15
29         lds.l   @r15+,pr
30         rts     
31         mov.l   @r15+,r14
32 .L5:
33         .align 2
34 .L3:
35         .long   bar
36 .L4:
37         .long   baz
38         .cfi_endproc
39         .size   foo, .-foo