mirror of
https://github.com/LiBwrt-op/openwrt-6.x.git
synced 2026-01-04 18:21:14 +00:00
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 startup code does not reserve stack space for these registers thus when the main C function needs to save its arguments, that will cause a stack overflow. Fix the assembly code to reserve stack space for the registers to avoid that. Compile tested only. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 49061 |
||
|---|---|---|
| .. | ||
| base-files | ||
| dts | ||
| files/firmware/lantiq | ||
| image | ||
| patches-4.4 | ||
| xrx200 | ||
| xway | ||
| config-4.4 | ||
| Makefile | ||
| modules.mk | ||