uboot-mt623x/nand_spl/board
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
..
amcc powerpc/nand spl: link libgcc 2010-12-16 23:19:14 +01:00
davinci/da8xxevm Davinci 8xx: Move common functions to share code 2010-11-30 11:32:59 -05:00
freescale powerpc/nand spl: link libgcc 2010-12-16 23:19:14 +01:00
karo/tx25 tx25: fix linker file for newer ld support 2010-11-17 20:46:06 +01:00
samsung/smdk6400 Remove board_init_f function from nand_boot.c 2010-11-28 20:21:58 -05:00
sheldon/simpc8313 powerpc/nand spl: link libgcc 2010-12-16 23:19:14 +01:00