[gPXE-devel] Weak pxe_menu_boot()

Stefan Hajnoczi stefanha at gmail.com
Sat Jul 10 10:30:29 EDT 2010


On Sat, Jul 10, 2010 at 2:55 PM, Richard Sandiford
<rdsandiford at googlemail.com> wrote:
> 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.

Excellent, thanks for identifying and fixing this:

http://gcc.gnu.org/ml/gcc-patches/2010-07/msg00792.html

Stefan


More information about the gPXE-devel mailing list