On Tue, Jun 15, 2010 at 10:37 PM, Peter Tyser <[email protected]> wrote:
> 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? 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? -- Timur Tabi Linux kernel developer at Freescale _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

