diff options
author | David Holsgrove <david.holsgrove@xilinx.com> | 2012-11-06 13:01:24 (GMT) |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2013-02-04 11:07:09 (GMT) |
commit | 2281ba5172b2855ed3af2251832332b3e9e16f6c (patch) | |
tree | 45aec64f391f5be2ac901e14fc7ad4603a611a49 /common/cmd_spibootldr.c | |
parent | 7cde9f35d6753d17348512e944f0fe5c31af0acf (diff) | |
download | u-boot-fsl-qoriq-2281ba5172b2855ed3af2251832332b3e9e16f6c.tar.xz |
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 'common/cmd_spibootldr.c')
0 files changed, 0 insertions, 0 deletions