eabi-toolchain.patch
commitb3d562f43c7e85c93ccfafea878f9ba5de6f0430
authormokopatches <unknown@openmoko.org>
Fri, 11 Apr 2008 13:27:26 +0000 (11 14:27 +0100)
committerwarmcat <andy@warmcat.com>
Fri, 11 Apr 2008 13:27:26 +0000 (11 14:27 +0100)
treee9ff588923058d5f3f23e7a85c9b75544887f487
parentf5b8297e6989192f49eddbd7d7af61c6053ebc63
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
board/neo1973/gta01/Makefile
board/neo1973/gta02/Makefile
cpu/arm920t/config.mk