[U-Boot-Users] Linker ERROR

Wolfgang Kanovsky kaw at rdcs.at
Tue Mar 9 10:14:13 CET 2004


Hi All,

im working on an embedded ( with AMD SC520 / i386 ) board every thing comp.
nice
but i got the following Linker Error for u-Boot.

Anyone Knows this Error and its cause?

UNDEF_SYM=`i386-linux-objdump -x lib_generic/libgeneric.a
board/sc520_hopf/libsc520_hopf.a cpu/i386/libi386.a lib_i386/libi386.a
fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a
net/libnet.a disk/libdisk.a rtc/librtc.a dtt/libdtt.a drivers/libdrivers.a
drivers/sk98lin/libsk98lin.a post/libpost.a post/cpu/libcpu.a
common/libcommon.a |sed  -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\
        i386-linux-ld -Bstatic -T
/Users/rac/dev/hopf/nts/build/u-boot_new/board/sc520_hopf/u-boot.lds -Ttext
0x087c0000  $UNDEF_SYM cpu/i386/start.o cpu/i386/start16.o cpu/i386/reset.o
\
                --start-group lib_generic/libgeneric.a
board/sc520_hopf/libsc520_hopf.a cpu/i386/libi386.a lib_i386/libi386.a
fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a
net/libnet.a disk/libdisk.a rtc/librtc.a dtt/libdtt.a drivers/libdrivers.a
drivers/sk98lin/libsk98lin.a post/libpost.a post/cpu/libcpu.a
common/libcommon.a -L
/data/nts/toolchain/lib/gcc-lib/i386-linux/3.3.1 -lgcc --end-group \
                -Map u-boot.map -o u-boot
i386-linux-ld: section .data [087d5754 -> 087d62c7] overlaps section
.rodata.str1.1 [087d5754 -> 087d71a6]
i386-linux-ld: section .realmode [087d62c8 -> 087d642d] overlaps section
.rodata.str1.1 [087d5754 -> 087d71a6]
i386-linux-ld: section .bios [087d642e -> 087d696b] overlaps section
.rodata.str1.1 [087d5754 -> 087d71a6]
make: *** [u-boot] Error 1



2 Question: in uboot.lds (sc520_cdp board) is the following statement

	. = 0x400000; 	                    /* Ram data segment to use */
	_i386boot_romdata_dest = ABSOLUTE(.);
	.data : AT ( LOADADDR(.rodata) + SIZEOF(.rodata) ) { *(.data) }
	_i386boot_romdata_start = LOADADDR(.data);

can anyone tell me what this statement does ? and which adress = 0x400000
this is ?

thanks

Wolfgang Kanovsky

_______________________________________________________________________

Realtime Distributed Computing Systems -
Ruprecht & Partner OEG

Hopf Industriefunkuhren           SUN Microsystems iForce Partner
Master Reseller A*CZ*SK*HR*SLO    Oracle Partner

Embelgasse 66/10-11
A - 1050 Wien

Tel:  +43 1 5455077-0
Fax:  +43 1 5455077-11
mailto:office at rdcs.at
Internet: http://www.rdcs.at/
_____________________________________________________________________






More information about the U-Boot mailing list