u-boot/arch/microblaze/lib
David Holsgrove 2281ba5172 microblaze: Add muldi3.c which contains routines for _muldi3
Referenced arch/blackfin/lib/muldi3.c and the linux kernel.
Resolves issue seen when building u-boot for HW_MUL=0;

PLATFORM_CPPFLAGS += -mxl-soft-mul
PLATFORM_CPPFLAGS += -mno-xl-multiply-high

which resulted in error while linking to libgcc.a without mul hw (bs / m);

libgcc.a(_muldi3.o): In function `__muldi3':
.... src/gcc-4.6.2/libgcc/libgcc2.c:550: undefined reference to `_GLOBAL_OFFSET_TABLE_'

This link failure would not occur if we used gcc instead of ld directly, as
gcc will correctly use the crt's to resolve this link.

Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
2013-02-04 12:07:09 +01:00
..
board.c env: Use getenv_yesno() more generally 2012-12-13 11:46:55 -07:00
bootm.c microblaze: Flush caches before enabling them 2012-11-07 17:11:14 +01:00
Makefile microblaze: Add muldi3.c which contains routines for _muldi3 2013-02-04 12:07:09 +01:00
muldi3.c microblaze: Add muldi3.c which contains routines for _muldi3 2013-02-04 12:07:09 +01:00
time.c microblaze: Move __udelay implementation 2012-07-10 11:54:06 +02:00