Commit | Line | Data |
---|---|---|
364b6d8b JJ |
1 | #; $ as -o test.o -32 gas-cfi-test.s && gcc -m32 -nostdlib -o test test.o |
2 | ||
3 | .file "a.c" | |
4 | .text | |
5 | .align 4 | |
6 | .globl foo | |
7 | .type foo, @function | |
8 | foo: | |
9 | .cfi_startproc | |
10 | save %sp, -104, %sp | |
11 | .cfi_def_cfa_register %fp | |
6749011b | 12 | .cfi_window_save |
364b6d8b JJ |
13 | .cfi_register %o7, %i7 |
14 | add %i0, 1, %o0 | |
15 | call bar, 0 | |
16 | add %i0, 2, %i0 | |
17 | call bar, 0 | |
18 | mov %i0, %o0 | |
19 | add %o0, 3, %o0 | |
20 | ret | |
21 | restore %g0, %o0, %o0 | |
22 | .cfi_endproc | |
23 | .size foo, .-foo |