x86-64: fix handling of PUSH/POP of segment register
[deliverable/binutils-gdb.git] / gas / testsuite / gas / cfi / cfi-arm-1.s
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
22 # Test fix for PR 16694 - the use of VFP registers in .cfi_offset directives.
23 .cfi_offset r1, -16
24 .cfi_offset s1, -20
25 .cfi_offset d11, -48
26
27 ldmea fp, {fp, sp, pc}
28 .cfi_endproc
29 .size foo, .-foo
This page took 0.029824 seconds and 4 git commands to generate.