[U-Boot] ppc -Os and _restgpr_##_x errors

McClintock Matthew-B29882 B29882 at freescale.com
Thu Nov 10 20:47:51 CET 2011


On Wed, Nov 9, 2011 at 10:10 PM, Mike Frysinger <vapier at gentoo.org> wrote:
> am i the only one seeing errors like:
> board/esd/cpciiser4/libcpciiser4.o: In function `board_early_init_f':
> board/esd/cpciiser4/cpciiser4.c:139: undefined reference to `_restgpr_26_x'
>
> i'm using a gcc-4.5.x toolchain here.  should we import crtsavres.S from Linux
> to fix this ?

Some projects fix this manually. For example kexec adds this:

https://github.com/horms/kexec-tools/blob/master/purgatory/arch/ppc/misc.S

Not that this is a good approach....

-M


More information about the U-Boot mailing list