diff options
| author | Stefan Hajnoczi | 2010-07-14 11:13:44 +0200 |
|---|---|---|
| committer | Michael Brown | 2010-07-14 13:55:59 +0200 |
| commit | 8ee6d216e4aabeeee525430b453733874948eddb (patch) | |
| tree | 1959785f48651f130048c3573599898a291aa275 /src/include/ipxe/dhcppkt.h | |
| parent | [hci] Continue processing while prompting for shell banner (diff) | |
| download | ipxe-8ee6d216e4aabeeee525430b453733874948eddb.tar.gz ipxe-8ee6d216e4aabeeee525430b453733874948eddb.tar.xz ipxe-8ee6d216e4aabeeee525430b453733874948eddb.zip | |
[build] Mark weak functions noinline
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
<rdsandiford@googlemail.com> but in the meantime iPXE needs to
implement a workaround.
Reported-by: Steve Jones <steve@squaregoldfish.co.uk>
Reported-by: Shao Miller <shao.miller@yrdsb.edu.on.ca>
Suggested-by: Joshua Oreman <oremanj@rwcr.net>
Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
Modified-by: Michael Brown <mcb30@ipxe.org>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/dhcppkt.h')
0 files changed, 0 insertions, 0 deletions
