diff options
author | David Holsgrove <david.holsgrove@xilinx.com> | 2012-11-06 23:01:24 +1000 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2013-02-04 12:07:09 +0100 |
commit | 2281ba5172b2855ed3af2251832332b3e9e16f6c (patch) | |
tree | 45aec64f391f5be2ac901e14fc7ad4603a611a49 /board/rbc823 | |
parent | 7cde9f35d6753d17348512e944f0fe5c31af0acf (diff) | |
download | talos-obmc-uboot-2281ba5172b2855ed3af2251832332b3e9e16f6c.tar.gz talos-obmc-uboot-2281ba5172b2855ed3af2251832332b3e9e16f6c.zip |
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>
Diffstat (limited to 'board/rbc823')
0 files changed, 0 insertions, 0 deletions