PR binutils/15834
[deliverable/binutils-gdb.git] / gas / testsuite / gas / arm / unwind.s
index f0503788b3ac40fcfe20c03e9b55a57d0355742a..bbd73a157d94e650a58ddfebb5f88a9872f0718f 100644 (file)
@@ -51,3 +51,17 @@ foo5:        @ Save r0-r3 only.
        .save {r0, r1, r2, r3}
        mov r0, #5
        .fnend
+       .code 32
+foo6:  @ Nested function with frame pointer
+       .fnstart
+       .pad #4
+       @push {ip}
+       .movsp ip, #4
+       @mov ip, sp
+       .pad #4
+       .save {fp, ip, lr}
+       @stmfd sp!, {fp, ip, lr, pc}
+       .setfp fp, ip, #-8
+       @sub fp, ip, #8
+       mov r0, #6
+       .fnend
This page took 0.02396 seconds and 4 git commands to generate.