.arch armv6 .eabi_attribute 27, 3 .eabi_attribute 28, 1 .fpu vfp .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 6 .eabi_attribute 34, 1 .eabi_attribute 18, 4 .file "stack2.c" .text .align 2 .global array .type array, %function array: @ args = 0, pretend = 0, frame = 16 @ frame_needed = 1, uses_anonymous_args = 0 @ link register save eliminated. str fp, [sp, #-4]! add fp, sp, #0 sub sp, sp, #20 mov r3, #0 str r3, [fp, #-20] mov r3, #1 str r3, [fp, #-16] mov r3, #2 str r3, [fp, #-12] mov r3, #3 str r3, [fp] ldr r3, [fp, #-12] mov r0, r3 sub sp, fp, #0 @ sp needed ldr fp, [sp], #4 bx lr .size array, .-array .align 2 .global main .type main, %function main: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 1, uses_anonymous_args = 0 stmfd sp!, {fp, lr} add fp, sp, #4 bl array mov r3, r0 mov r0, r3 ldmfd sp!, {fp, pc} .size main, .-main .ident "GCC: (Raspbian 4.9.2-10) 4.9.2" .section .note.GNU-stack,"",%progbits