#define STACK_SIZE 0x4000 .text .align 4 .globl kentry kentry: ldr sp, =$(stack + STACK_SIZE) bl kmain .comm stack, STACK_SIZE