arm-linux-gcc3.4.1编译uboot错误,出现下面提示:
#define
CONFIG_DRIVER_CS8900
0
#define
CONFIG_BOOTDELAY
5
start time
make
smdk2410_config
make
all
It will appear that
mistake
lib_arm/libarm.a(_udivsi3.o)(.text+0x8c):_udivsi3.S:67:
relocation truncated to fit: R_ARM_PLT32 __div0
lib_arm/libarm.a(_umodsi3.o)(.text+0xa8):_umodsi3.S:79:
relocation truncated to fit: R_ARM_PLT32 __div0
make: ***
[u-boot] Error
1 configurate
the skyeye.conf
It called
softfloat,and you need to change sth as
follows
要修改两个地方:
1.如下修改lib_arm/_umodsi3.S、lib_arm/_udivsi3.S即可编译通过:
bl __div0
===> bl
__div0 (去掉 (PLT))
2.如下修改lib_arm/_umodsi3.S、lib_arm/_umodsi3.S即可编译通过:
bl __div0 (PLT)
===> bl
__div0 (去掉 (PLT))
重新make就可以通过