Index: linux/arch/arm/boot/compressed/head.S =================================================================== --- linux.orig/arch/arm/boot/compressed/head.S +++ linux/arch/arm/boot/compressed/head.S @@ -721,5 +721,9 @@ reloc_end: .align +#if defined(CONFIG_MACH_POODLE) || defined(CONFIG_PXA_SHARPSL) + .section ".stack", "aw" +#else .section ".stack", "w" +#endif user_stack: .space 4096 Index: linux/arch/arm/boot/compressed/vmlinux.lds.in =================================================================== --- linux.orig/arch/arm/boot/compressed/vmlinux.lds.in +++ linux/arch/arm/boot/compressed/vmlinux.lds.in @@ -42,7 +42,7 @@ .bss : { *(.bss) } _end = .; - .stack (NOLOAD) : { *(.stack) } + .stack : { *(.stack) } .stab 0 : { *(.stab) } .stabstr 0 : { *(.stabstr) }