From: Scott Wood <scottwood@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] ppc -Os and _restgpr_##_x errors
Date: Fri, 11 Nov 2011 14:12:18 -0600 [thread overview]
Message-ID: <4EBD81A2.7000402@freescale.com> (raw)
In-Reply-To: <CAEsOVNciAwgkS5U+iv7foWKa6nX9y=PO7NeNc9tGY9JHZkDuAQ@mail.gmail.com>
On 11/10/2011 01:47 PM, McClintock Matthew-B29882 wrote:
> On Wed, Nov 9, 2011 at 10:10 PM, Mike Frysinger <vapier@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....
Shouldn't libgcc provide this?
-Scott
next prev parent reply other threads:[~2011-11-11 20:12 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-10 4:10 [U-Boot] ppc -Os and _restgpr_##_x errors Mike Frysinger
2011-11-10 5:32 ` Wolfgang Denk
2011-11-10 17:05 ` Mike Frysinger
2011-11-10 19:47 ` McClintock Matthew-B29882
2011-11-11 20:12 ` Scott Wood [this message]
2011-11-14 20:41 ` McClintock Matthew-B29882
2011-11-14 21:42 ` Marek Vasut
2011-11-14 21:52 ` McClintock Matthew-B29882
2011-11-14 21:58 ` Wolfgang Denk
[not found] <4EBBF18F.2070708@embedded-sol.com>
2011-11-10 16:00 ` Felix Radensky
2011-11-10 18:28 ` Wolfgang Denk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4EBD81A2.7000402@freescale.com \
--to=scottwood@freescale.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.