* [U-Boot-Users] Question about GNU linker usage
@ 2004-07-15 1:01 "SYLee"
2004-07-15 6:01 ` Leon KUKOVEC
0 siblings, 1 reply; 2+ messages in thread
From: "SYLee" @ 2004-07-15 1:01 UTC (permalink / raw)
To: u-boot
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20040715/2a1f600d/attachment.htm
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot-Users] Question about GNU linker usage
2004-07-15 1:01 [U-Boot-Users] Question about GNU linker usage "SYLee"
@ 2004-07-15 6:01 ` Leon KUKOVEC
0 siblings, 0 replies; 2+ messages in thread
From: Leon KUKOVEC @ 2004-07-15 6:01 UTC (permalink / raw)
To: u-boot
Hi SYLee,
SYLee wrote:
[-snip-]
> u-boot: depend $(SUBDIRS) $(OBJS) $(LIBS) $(LDSCRIPT)
> UNDEF_SYM=`$(OBJDUMP) -x $(LIBS) | sed -n -e
> 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\
> $(LD) $(LDFLAGS) $$UNDEF_SYM $(OBJS) \
> --start-group $(LIBS) $(PLATFORM_LIBS) --end-group \
> -Map u-boot.map -o u-boot
>
> The value of $(LDFLAGS) variable ends "-n" and UNDEF_SYM is undefined symbol
> name list. Can the undefined symbol names be the non-option argument of gnu ld?
> According to manual page or info, I haven't found any mention of it.
My understanding is that you very likely do not have OBJDUMP in the PATH
or set correctly which is causing UNDEF_SYM not to get defined.
UNDEF_SYMBS actualy expands to -u<symbol_name> which is legal for LDFLAGS.
Try to provide a log that shows how commands are being executed for the
u-boot target.
L8rZ.
--
Best Regards,
Leon.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-07-15 6:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-15 1:01 [U-Boot-Users] Question about GNU linker usage "SYLee"
2004-07-15 6:01 ` Leon KUKOVEC
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox