--- trunk/mkinitrd-magellan/klibc/usr/klibc/arch/arm/vfork.S 2011/05/27 14:42:36 1296 +++ trunk/mkinitrd-magellan/klibc/usr/klibc/arch/arm/vfork.S 2011/05/27 15:12:11 1297 @@ -4,6 +4,7 @@ * vfork - nasty system call which must not use the stack. */ +#include #include .type vfork,#function @@ -25,7 +26,7 @@ ldrcs r3, 1f mvncs r0, #0 strcs r2, [r3] - mov pc, lr + BX(lr) .balign 4 1: @@ -49,7 +50,7 @@ str r2, [r1] neg r0, r0 1: - mov pc, lr + BX(lr) .balign 4 2: