eabi-toolchain.patch
eabi-toolchain.patch: When using the new OpenMoko toolchain for EABI, u-boot
(http://wiki.openmoko.org/wiki/Toolchain) fails to build due to a number of
small compatibility issues. This patch fixes them in a way that is
backwards-compatible with our ancient OABI toolchain.
There also seems to be a "competing" patch for OE:
http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=180
Avoid "warning: target CPU does not support interworking" warnings:
- cpu/arm920t/config.mk (PLATFORM_CPPFLAGS): changed -march=armv4 to
-march=armv4t
- board/neo1973/gta01/Makefile, board/neo1973/gta02/Makefile: changed
-march=armv4 to -march=armv4t
Don't hardcode apcs ABI for arm920t:
- cpu/arm920t/config.mk (PLATFORM_CPPFLAGS): removed -mapcs-32 and
-mabi=apcs-gnu from
__div0 assumes we have some sort of libc:
- cpu/arm920t/config.mk (PLATFORM_LDFLAGS):
Add dummy "raise" symbol required by __div0 from lib1funcs.asm