[U-Boot] [PATCH v4 2/5] spl: don't mark __u_boot_cmd* as undefined

Tom Rini trini at ti.com
Mon Aug 6 00:36:23 CEST 2012


On Sun, Aug 5, 2012 at 2:21 PM, Ilya Yanok
<ilya.yanok at cogentembedded.com> wrote:
> __u_boot_cmd* symbols are not used in SPL so there is no need
> to tell the linker that they are undefined. With these symbols
> marked as undefined linker fails to garbage collect some unused
> functions and even fails to build the resulting image.

I don't like this because it causes SPL to bloat when the commands
aren't also removed from the build.  But I assume a number of commands
were being pulled in as part of the networking stack?

-- 
Tom


More information about the U-Boot mailing list