On Mon, Mar 19, 2001 at 12:58:12PM -0800, Karthik DK wrote:
> Hi
> I was trying to compile the bootldr 18th March snapshot, and got the
> following error. Im not sure what is happening.
>
> arm-linux-ld -v -Ttext=0x0 -Tdata=0x16000 -Bstatic -o bootldr-elf
> boot-sa1100.o mmu-strongarm.o bootldr.o btflash.o heap.o xmodem.o ymodem.o
> crc.o bsdsum.o modem.o getcmd.o jffs.o
> md5.o -L/skiff/local/lib/gcc-lib/arm-linux/2.95.2 -L. -lgcc -lc -lz
> GNU ld version 2.9.5 (with BFD 2.9.5.0.22)
> arm-linux-ld: section .rodata [00012708 -> 000160d5] overlaps section .data
> [00016000 -> 00017e9b]
> make: *** [bootldr] Error 1
I think it would be a good idea of bootldr was to use a linker script
rather than using -Ttext and -Tdata, so that the layout of the binary
image can be more accurately described to the linker.
_____
|_____| ------------------------------------------------- ---+---+-
| | Russell King [EMAIL PROTECTED] --- ---
| | | | http://www.arm.linux.org.uk/ / / |
| +-+-+ --- -+-
/ | THE developer of ARM Linux |+| /|\
/ | | | --- |
+-+-+ ------------------------------------------------- /\\\ |
_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.