[U-Boot] [PATCH 7/7] add gc-sections to TPL boot

Scott Wood scottwood at freescale.com
Fri Jan 28 18:36:46 CET 2011


On Thu, 27 Jan 2011 23:58:10 -0500
<Haiying.Wang at freescale.com> wrote:

> From: Haiying Wang <Haiying.Wang at freescale.com>
> 
> Signed-off-by: Haiying Wang <Haiying.Wang at freescale.com>
> ---
>  arch/powerpc/config.mk |    4 ++++
>  config.mk              |    7 ++++++-
>  2 files changed, 10 insertions(+), 1 deletions(-)

I see patch 3/8, 4/8, 5/8, and 7/7.  Where are the rest?

> diff --git a/config.mk b/config.mk
> index 5147c35..d7bb07f 100644
> --- a/config.mk
> +++ b/config.mk
> @@ -260,8 +260,13 @@ $(obj)%.s:	%.c
>  #########################################################################
>  
>  # If the list of objects to link is empty, just create an empty built-in.o
> +ifdef CONFIG_HAS_TPL
> +cmd_link_o_target = $(if $(strip $1),\
> +		      $(LD) -r -o $@ $1,\
> +		      rm -f $@; $(AR) rcs $@ )
> +else
>  cmd_link_o_target = $(if $(strip $1),\
>  		      $(LD) $(LDFLAGS) -r -o $@ $1,\
>  		      rm -f $@; $(AR) rcs $@ )
> -
> +endif

What's going on here?

-Scott



More information about the U-Boot mailing list