1
#; $ as -o test.o gas-cfi-test.s && gcc -nostdlib -o test test.o
6
#; - function with a space on the stack
7
#; allocated for local variables
9
.type func_locvars,@function
13
#; alocate space for local vars
15
.cfi_adjust_cfa_offset 0x1234
20
#; release space of local vars and return
22
.cfi_adjust_cfa_offset -0x1234
27
#; - functions that begins with standard
28
#; prologue: "link %a6,#0"
30
.type func_prologue,@function
34
#; prologue, CFI is valid after
39
.cfi_def_cfa_register a6
45
#; epilogue with valid CFI
46
#; (we're better than gcc :-)
48
.cfi_def_cfa_register sp
58
#; only function body that doesn't
59
#; touch the stack at all.