[U-Boot] [PATCH 3/5] common: Add .u_boot_list into all linker files
Marek Vasut
marex at denx.de
Wed Oct 3 17:01:16 CEST 2012
Dear Daniel Schwierzeck,
[...]
> this can't work because u-boot.lst is genereated in top-level directory
> but linking of standalone code happens in the according subdirectories.
> Thus the linker can't find u-boot.lst.
>
> Example for MIPS standalone:
>
> /opt/eldk-5.2.1/mips/sysroots/i686-eldk-linux/usr/bin/mips32-linux/mips-lin
> ux-ld.bfd -G 0 -static -n -nostdlib -EB -g -Ttext 0x80200000 -T mips.lds \
> -o hello_world -e hello_world hello_world.o libstubs.o \
> -L/opt/eldk-5.2.1/mips/sysroots/mips32-
linux/usr/lib/mips-linux/4.6.4
> -lgcc
> /opt/eldk-5.2.1/mips/sysroots/i686-eldk-linux/usr/bin/mips32-linux/mips-li
> nux-ld.bfd: cannot open linker script file u-boot.lst: No such file or
> directory
Do you have any suggestion? I recall compiling it for mips ...
Best regards,
Marek Vasut
More information about the U-Boot
mailing list