[gPXE-devel] Weak pxe_menu_boot()

Richard Sandiford rdsandiford at googlemail.com
Sat Jul 10 09:55:58 EDT 2010


Stefan Hajnoczi <stefanha at gmail.com> writes:
> So although the function is extern, the pxe_menu_boot symbol has
> visibility "hidden" and the compiler decides inlining is okay, despite
> it being a weak symbol.  Add __attribute__((visibility("default"))) to
> pxe_menu_boot() to test this.

FWIW, a patch to fix the GCC bug has now been accepted and applied to trunk.
Thanks for raising the issue.

Richard


More information about the gPXE-devel mailing list