summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/cfi/cfi-i386-2.s
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/gas/cfi/cfi-i386-2.s')
-rw-r--r--gas/testsuite/gas/cfi/cfi-i386-2.s17
1 files changed, 17 insertions, 0 deletions
diff --git a/gas/testsuite/gas/cfi/cfi-i386-2.s b/gas/testsuite/gas/cfi/cfi-i386-2.s
new file mode 100644
index 000000000000..811220b56526
--- /dev/null
+++ b/gas/testsuite/gas/cfi/cfi-i386-2.s
@@ -0,0 +1,17 @@
+ .text
+ .globl foo
+ .type foo,@function
+ .cfi_startproc
+foo:
+ push %ebp
+ .cfi_adjust_cfa_offset 4
+ .cfi_offset %ebp, -8
+ .align 4
+ push %ebx
+ .cfi_offset %ebx, -12
+ .cfi_adjust_cfa_offset 4
+ nop
+ pop %ebx
+ pop %ebp
+ ret
+ .cfi_endproc