openwrtv3/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 adm5120: disable the openwrt commandline hack 2015-08-30 12:17:54 +00:00
adm8668 build: Prevent more gzip timestamps 2015-07-14 09:57:45 +00:00
ar7 all: drop old uci-defaults.sh 2015-12-11 15:26:06 +00:00
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 all: drop old uci-defaults.sh 2015-12-11 15:26:06 +00:00
ath25 all: drop old uci-defaults.sh 2015-12-11 15:26:06 +00:00
au1000 image: fix jffs2(_nand) image generation 2015-08-05 13:55:52 +00:00
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 kernel: refresh patches for 4.1 2015-07-22 12:51:11 +00:00
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 targets: add kernel image dependencies on device tree files 2016-01-06 18:39:06 +00:00
ixp4xx kernel: update kernel 4.1 to version 4.1.11 2015-10-25 17:32:01 +00:00
kirkwood targets: add kernel image dependencies on device tree files 2016-01-06 18:39:06 +00:00
lantiq lantiq: Fixed brnImage signature for the VGV7510KW22BRN images 2016-01-17 10:47:10 +00:00
malta malta: fix generating network configuration 2016-01-03 11:36:26 +00:00
mcs814x all: drop old uci-defaults.sh 2015-12-11 15:26:06 +00:00
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 all: drop old uci-defaults.sh 2015-12-11 15:26:06 +00:00
netlogic all: drop old uci-defaults.sh 2015-12-11 15:26:06 +00:00
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 omap24xx: Append dtb to the zImage 2015-10-09 07:46:12 +00:00
orion all: drop old uci-defaults.sh 2015-12-11 15:26:06 +00:00
oxnas all: drop old uci-defaults.sh 2015-12-11 15:26:06 +00:00
ppc40x ppc40x: upgrade to 3.18 2015-04-12 20:48:13 +00:00
ppc44x image: fix jffs2(_nand) image generation 2015-08-05 13:55:52 +00:00
ramips kernel/4.3: update to version 4.3.3 2016-01-12 20:52:19 +00:00
rb532 rb532: switch to 4.1 2015-12-23 14:43:11 +00:00
realview all: drop old uci-defaults.sh 2015-12-11 15:26:06 +00:00
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 kernel: update kernel 3.18 to version 3.18.23 2015-11-01 13:45:57 +00:00
Makefile