u-boot/nand_spl/board/freescale
Scott Wood 97a85b223a powerpc/nand spl: link libgcc
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@freescale.com>
Acked-by: Kim Phillips <kim.phillips@freescale.com>
Acked-by: Wolfgang Denk <wd@denx.de>
2010-12-16 23:19:14 +01:00
..
mpc8313erdb powerpc/nand spl: link libgcc 2010-12-16 23:19:14 +01:00
mpc8315erdb powerpc/nand spl: link libgcc 2010-12-16 23:19:14 +01:00
mpc8536ds powerpc/85xx: add CONFIG_SYS_TEXT_BASE_SPL for 85xx nand spl build 2010-11-12 08:51:36 -06:00
mpc8569mds powerpc/85xx: add CONFIG_SYS_TEXT_BASE_SPL for 85xx nand spl build 2010-11-12 08:51:36 -06:00
mx31pdk Rename TEXT_BASE into CONFIG_SYS_TEXT_BASE 2010-10-18 22:07:10 +02:00
p1_p2_rdb powerpc/85xx: add CONFIG_SYS_TEXT_BASE_SPL for 85xx nand spl build 2010-11-12 08:51:36 -06:00