[U-Boot] [PATCH] examples/standalone: Remove relocation compile flags for PowerPC
Peter Tyser
ptyser at xes-inc.com
Wed Jun 16 05:37:08 CEST 2010
On Tue, 2010-06-15 at 22:51 +0200, Wolfgang Denk wrote:
> Dear Peter,
>
> In message <1276634341.32134.1541.camel at petert> you wrote:
> >
> > > I think the "timer" code is sufficient to show the problem, and that
> > > your fix helps. If Timur confirms it's working for his secret code
> > > too we should apply this.
> >
> > Do you want this rolled into the first patch, or sent as a follow-up?
>
> Please roll it into one patch. Thanks!
It looks like the -fno-toplevel-reorder flag is only available in gcc >=
4.2 (http://gcc.gnu.org/gcc-4.2/changes.html released May 2007). So, do
we add support to U-Boot to conditionally check for the gcc version like
Linux to know when to use -fno-toplevel-reorder? Or do we use a linker
script that would support more versions of gcc at the cost of more
complexity?
Best,
Peter
More information about the U-Boot
mailing list