openwrtv3/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 V2 ar71xx : Add Support for the Bitmain Antrouter R1 2016-01-01 21:21:13 +00:00
image ar71xx/lzma-loader: fix O32 ABI conformance 2016-01-17 15:29:03 +00:00
mikrotik ar71xx: Kernel board definition for PowerCloud CR5000 2015-12-19 11:27:32 +00:00
nand ar71xx: Kernel board definition for PowerCloud CR5000 2015-12-19 11:27:32 +00:00
patches-4.1 kernel/4.1: update to version 4.1.15 2016-01-12 20:51:34 +00:00
base-files.mk ar71xx: drop procd_init console hack 2013-06-21 16:53:11 +00:00
config-4.1 V2 ar71xx : Add Support for the Bitmain Antrouter R1 2016-01-01 21:21:13 +00:00
Makefile ar71xx: switch to linux 4.1 2015-07-19 17:59:20 +00:00
modules.mk ar71xx: add LED driver NU801 2015-12-11 15:04:57 +00:00