summaryrefslogtreecommitdiffstats
path: root/src/arch/i386/scripts/i386.lds
diff options
context:
space:
mode:
authorMichael Brown2008-08-28 00:45:59 +0200
committerMichael Brown2008-08-28 01:11:45 +0200
commitfc0c40a5b0833e215b596268e51c8a38076c8f19 (patch)
tree05615189d289c42c58d807090cea739ec57e46b5 /src/arch/i386/scripts/i386.lds
parent[romprefix] Add UNDI ROMID structure bus type field (diff)
downloadipxe-fc0c40a5b0833e215b596268e51c8a38076c8f19.tar.gz
ipxe-fc0c40a5b0833e215b596268e51c8a38076c8f19.tar.xz
ipxe-fc0c40a5b0833e215b596268e51c8a38076c8f19.zip
[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.
Diffstat (limited to 'src/arch/i386/scripts/i386.lds')
-rw-r--r--src/arch/i386/scripts/i386.lds10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/arch/i386/scripts/i386.lds b/src/arch/i386/scripts/i386.lds
index a5a01056..7d63dae6 100644
--- a/src/arch/i386/scripts/i386.lds
+++ b/src/arch/i386/scripts/i386.lds
@@ -31,6 +31,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
*/