[U-Boot] [PATCH] powerpc/nand spl: link libgcc
Kim Phillips
kim.phillips at freescale.com
Tue Dec 14 00:06:11 CET 2010
On Fri, 10 Dec 2010 17:00:51 -0600
Scott Wood <scottwood at freescale.com> wrote:
> Recent GCC (4.4+) performs out-of-line epilogues in some cases, when
> optimizing for size. It causes a link error for _restgpr_30_x (and similar)
> if libgcc is not linked.
>
> It actually increases size with very small binaries, due to the fixed size
> of the out-of-line code, and not having any functions that actually need to
> restore more than 2 or 3 registers. But I don't see a way to turn it off,
> other than asking GCC to optimize for speed -- which may also increase
> size for some boards.
>
> Signed-off-by: Scott Wood <scottwood at freescale.com>
> ---
Stefan, can you please pick this up with my:
Acked-by: Kim Phillips <kim.phillips at freescale.com>
Thanks,
Kim
More information about the U-Boot
mailing list