Openwrt/target/linux
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
..
adm5120
adm8668
ar7
ar71xx ar71xx/lzma-loader: fix O32 ABI conformance 2016-01-17 15:29:03 +00:00
arc770 arc770: move arc patches to target/linux/generic 2016-01-15 10:49:11 +00:00
arm64 kernel: disable bogus DEVTMPFS config overrides 2016-01-17 10:40:36 +00:00
at91
ath25
au1000
bcm53xx kernel/4.3: update to version 4.3.3 2016-01-12 20:52:19 +00:00
brcm47xx kernel/4.1: update to version 4.1.15 2016-01-12 20:51:34 +00:00
brcm63xx kernel/4.1: update to version 4.1.15 2016-01-12 20:51:34 +00:00
brcm2708 brcm2708: add linux 4.4 support 2016-01-17 10:42:23 +00:00
cns3xxx kernel/3.18: update to version 3.18.25 2016-01-12 20:53:04 +00:00
gemini
generic ar8327: add IGMP Snooping support 2016-01-17 10:42:46 +00:00
imx6 imx6: kernel: Add Micrel PHY used on Apalis SOM 2016-01-15 15:18:23 +00:00
ipq806x
ixp4xx
kirkwood
lantiq lantiq: Fixed brnImage signature for the VGV7510KW22BRN images 2016-01-17 10:47:10 +00:00
malta
mcs814x
mediatek kernel/4.1: update to version 4.1.15 2016-01-12 20:51:34 +00:00
mpc85xx mpc85xx: Add PTP node for TL-WD4900 in device tree 2016-01-17 11:16:52 +00:00
mvebu kernel: refresh patches for kernel 4.4 2016-01-12 20:50:41 +00:00
mxs
netlogic
octeon kernel/4.3: update to version 4.3.3 2016-01-12 20:52:19 +00:00
omap kernel: disable bogus DEVTMPFS config overrides 2016-01-17 10:40:36 +00:00
omap24xx
orion
oxnas
ppc40x
ppc44x
ramips kernel/4.3: update to version 4.3.3 2016-01-12 20:52:19 +00:00
rb532
realview
sunxi kernel: refresh patches for kernel 4.4 2016-01-12 20:50:41 +00:00
uml uml: update to linux 4.4 2016-01-17 10:41:52 +00:00
x86 kernel: refresh patches for kernel 4.4 2016-01-12 20:50:41 +00:00
xburst
Makefile