Openwrt/target/linux/ar71xx
Gabor Juhos 55b0e261a4 ar71xx/lzma-loader: fix O32 ABI conformance
According to the calling convention of the o32 ABI the caller
function must reserve stack space for $a0-$a3 registers in case
the callee needs to save its arguments.

The assembly code of the loader does not reserve stack space for
these registers thus when the 'loader_main' function needs to save
its arguments, those will be stored in the 'workspace' area instead
of the stack.

Because the workspace area is also used by other part of the code, the
saved register values gets overwritten and this often leads to failed
kernel boots.

Fix the code to reserve stack space for the registers to avoid this
error.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 48279
2016-01-17 15:29:03 +00:00
..
base-files ar71xx: fix ap152 support 2016-01-10 17:19:34 +00:00
files ar71xx: fix ethernet MAC reset on DMA hang 2016-01-13 16:22:16 +00:00
generic
image ar71xx/lzma-loader: fix O32 ABI conformance 2016-01-17 15:29:03 +00:00
mikrotik
nand
patches-4.1 kernel/4.1: update to version 4.1.15 2016-01-12 20:51:34 +00:00
base-files.mk
config-4.1
Makefile
modules.mk