uboot的编译出错(Error: internal_relocation (type: OFFSET_IMM) not fixed up)
arm-linux-gcc -D__ASSEMBLY__ -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DTEXT_BASE=0x33F80000 -I/home/chenbuyun/mini2440/uboot/u-boot-1.1.6/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/include -pipe -DCONFIG_ARM -D__ARM__ -march=armv4 -mabi=apcs-gnu -c -o start.o start.S
cc1: warning: target CPU does not support interworking
start.S: Assembler messages:
start.S:341: Error: internal_relocation (type: OFFSET_IMM) not fixed up
make[1]: *** [start.o] 错误.-
以上是报错附近的信息
其中start.S:中
340 @ get read to call C functions (for nand_read())
341 ldr sp, DW_STACK_START @ setup stack pointer
342 mov fp, #0 @ no previous frame, so fp=0
编译器没有问题,我没移植支持nand flash时,编译能通过!