[U-Boot] [PATCH] examples/standalone: Remove relocation compile flags for PowerPC
Wolfgang Denk
wd at denx.de
Wed Jun 16 16:51:33 CEST 2010
Dear Timur Tabi,
In message <AANLkTild0OSohtPUQpqwsrZSAxPtCqnb_C2S0WTvIh1a at mail.gmail.com> you wrote:
>
> > we add support to U-Boot to conditionally check for the gcc version like
> > Linux to know when to use -fno-toplevel-reorder? =A0Or do we use a linker
> > script that would support more versions of gcc at the cost of more
> > complexity?
>
> What happens if you use the flag on earlier versions of gcc? If the
> flag is just silently ignored, then maybe it's not such a big deal to
> always include it, and just add a comment saying that it only works on
> gcc 4.2 or higher?
It raises an error.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
If I can have honesty, it's easier to overlook mistakes.
-- Kirk, "Space Seed", stardate 3141.9
More information about the U-Boot
mailing list