
that could very well be the error i get when i build with gcc version 3.4.0
if you can, try to build with gcc version 2.95.3 20010315 (coldfire patches - 20010318 from http://fiddes.net/coldfire/)
i dont think its caused by anything i did, but maybe. do other coldfire targets like 5282 compile for you?
i'd like you to be using 5235 u-boot along with me, so let me know if you can get the old compiler. if not, maybe we can figure out how to get the new one working. that wouldnt be a bad idea for me anyway.
wilson
On Oct 4, 2006, at 8:35 AM, Pradyumna Sampath wrote:
Hi Wilson,
I was just going through some list archives for u-boot where I chanced upon ur email http://comments.gmane.org/gmane.comp.boot-loaders.u- boot/20593 . I have a MCF5235 with me and u-boot seems to be the most popular bootloader with ethernet and tftp support. I patched the u-boot-1.1.4 with the patch that u sent out to the mailing list and I have encountered a peculiar error. I will be very happy if u can give me any pointers on this.
Here is the error :
Leaving directory `/home/rachana/u-boot-1.1.4/post/cpu' m68k-elf-gcc -Wa,-gstabs -D__ASSEMBLY__ -g -Os -ffixed-d7 -msep-data -D__KERNEL__ -DTEXT_BASE=0x20000 -I/home/rachana/u-boot-1.1.4/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.1.1/include -pipe -DCONFIG_M68K -D__M68K__ -m5307 -c -o cpu/mcf52x2/start.o /home/rachana/u-boot-1.1.4/cpu/mcf52x2/start.S /home/rachana/u-boot-1.1.4/cpu/mcf52x2/start.S: Assembler messages: /home/rachana/u-boot-1.1.4/cpu/mcf52x2/start.S:349: Fatal error: Tried to convert PC relative conditional branch to absolute jump make: *** [cpu/mcf52x2/start.o] Error 1
Thanks in advance, Regards Prady