On Wed, Jul 14, 2010 at 10:13 AM, Stefan Hajnoczi <[email protected]> wrote:
> Weak functions whose visibility is hidden may be inlined due to a bug in
> GCC.  Explicitly mark weak functions noinline to work around the
> problem.
>
> This makes the PXE_MENU config option work again, the PXE boot menu was
> never being called because the compiler inlined a weak stub function.
>
> The GCC bug was identified and fixed by Richard Sandiford
> <[email protected]> but in the meantime gPXE needs to implement
> a workaround.
>
> Reported-by: Steve Jones <[email protected]>
> Reported-by: Shao Miller <[email protected]>
> Suggested-by: Joshua Oreman <[email protected]>
> Signed-off-by: Stefan Hajnoczi <[email protected]>
> ---

Applied.

http://git.etherboot.org/?p=gpxe.git;a=commitdiff;h=1a260f8098d01caab029564005dfc132b0dce1ff

Stefan
_______________________________________________
gPXE-devel mailing list
[email protected]
http://etherboot.org/mailman/listinfo/gpxe-devel

Reply via email to