u-boot/examples
Peter Tyser c91d456c05 examples/standalone: Use gcc's -fno-toplevel-reorder
Using -fno-toplevel-reorder causes gcc to not reorder functions.  This
ensures that an application's entry point will be the first function in
the application's source file.

This change, along with commit 620bbba524
should cause a standalone application's entry point to be at the base of
the compiled binary.  Previously, the entry point could change depending
on gcc version and flags.

Note -fno-toplevel-reorder is only available in gcc version 4.2 or
greater.

Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2010-10-12 22:47:03 +02:00
..
api Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
standalone examples/standalone: Use gcc's -fno-toplevel-reorder 2010-10-12 22:47:03 +02:00