]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[build] Fix misaligned table entries when using gcc 4.5
authorPiotr Jaroszyński <p.jaroszynski@gmail.com>
Thu, 19 Aug 2010 21:39:17 +0000 (23:39 +0200)
committerMichael Brown <mcb30@ipxe.org>
Fri, 20 Aug 2010 09:13:04 +0000 (10:13 +0100)
commitb9eaf24df211591793bfe151169a23ab1567bdf9
tree0d08906e0754715c4eaeb1322459baecb050eeeb
parent49d6f5700561be091b2b25bb7641708333e4911d
[build] Fix misaligned table entries when using gcc 4.5

Declarations without the accompanying __table_entry cause misalignment
of the table entries when using gcc 4.5.  Fix by adding the
appropriate __table_entry macro or (where possible) by removing
unnecessary forward declarations.

Signed-off-by: Piotr Jaroszyński <p.jaroszynski@gmail.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
14 files changed:
src/arch/i386/core/video_subr.c
src/include/ipxe/arp.h
src/include/ipxe/icmp6.h
src/include/ipxe/ip.h
src/include/ipxe/ip6.h
src/include/ipxe/rarp.h
src/include/ipxe/tcp.h
src/net/aoe.c
src/net/arp.c
src/net/eth_slow.c
src/net/icmpv6.c
src/net/ipv4.c
src/net/ipv6.c
src/net/udp.c