~ubuntu-branches/ubuntu/utopic/binutils-arm64-cross/utopic

« back to all changes in this revision

Viewing changes to binutils-2.23.52.20130611/gas/testsuite/gas/cfi/cfi-arm-1.s

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2013-06-20 17:38:09 UTC
  • Revision ID: package-import@ubuntu.com-20130620173809-app8lzgvymy5fg6c
Tags: 0.7
Build-depend on binutils-source (>= 2.23.52.20130620-1~).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#; $ as -o test.o gas-cfi-test.s && gcc -nostdlib -o test test.o
 
2
 
 
3
        .file   "a.c"
 
4
        .text
 
5
        .align 2
 
6
        .global foo
 
7
        .type   foo, %function
 
8
foo:
 
9
        .cfi_startproc
 
10
        mov     ip, sp
 
11
        .cfi_def_cfa ip, 0
 
12
        stmfd   sp!, {r0, r1, r2, r3}
 
13
        .cfi_def_cfa sp, 16
 
14
        stmfd   sp!, {fp, ip, lr, pc}
 
15
        .cfi_adjust_cfa_offset 16
 
16
        .cfi_rel_offset r11, 0
 
17
        .cfi_rel_offset lr, 8
 
18
        sub     fp, ip, #20
 
19
        .cfi_def_cfa fp, 16
 
20
        nop
 
21
        ldmea   fp, {fp, sp, pc}
 
22
        .cfi_endproc
 
23
        .size   foo, .-foo