From fc0c40a5b0833e215b596268e51c8a38076c8f19 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Wed, 27 Aug 2008 23:45:59 +0100 Subject: [pxe] Fill in UNDIROMID pointer in !PXE structure IBM's iSCSI Firmware Initiator checks the UNDIROMID pointer in the !PXE structure that gets created by the UNDI loader. We didn't previously fill this value in. --- src/arch/i386/scripts/i386.lds | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/arch/i386/scripts') diff --git a/src/arch/i386/scripts/i386.lds b/src/arch/i386/scripts/i386.lds index a5a01056d..7d63dae63 100644 --- a/src/arch/i386/scripts/i386.lds +++ b/src/arch/i386/scripts/i386.lds @@ -30,6 +30,16 @@ SECTIONS { * */ + /* + * Weak symbols that need zero values if not otherwise defined + */ + + . = 0; + .weak : AT ( 0 ) { + *(.weak) + } + _assert = ASSERT ( ( . == 0 ), ".weak is non-zero length" ); + /* * The prefix */ -- cgit v1.2.3-55-g7522