#; $ as -o test.o gas-cfi-test.s && gcc -nostdlib -o test test.o | |
.file "a.c" | |
.text | |
.align 2 | |
.global foo | |
.type foo, %function | |
foo: | |
.cfi_startproc | |
mov ip, sp | |
.cfi_def_cfa ip, 0 | |
stmfd sp!, {r0, r1, r2, r3} | |
.cfi_def_cfa sp, 16 | |
stmfd sp!, {fp, ip, lr, pc} | |
.cfi_adjust_cfa_offset 16 | |
.cfi_rel_offset r11, 0 | |
.cfi_rel_offset lr, 8 | |
sub fp, ip, #20 | |
.cfi_def_cfa fp, 16 | |
nop | |
ldmea fp, {fp, sp, pc} | |
.cfi_endproc | |
.size foo, .-foo |