[prefix] Add .text16.early section
authorMichael Brown <mcb30@ipxe.org>
Tue, 20 Apr 2010 10:05:53 +0000 (11:05 +0100)
committerStefan Hajnoczi <stefanha@gmail.com>
Wed, 7 Jul 2010 19:14:36 +0000 (20:14 +0100)
commit8fda72337f812abb426b09b065fc1d486abc0b5a
tree5ed4829a8eb81b37d9ccd085cb13f188339fdc6a
parent8d2d6ac1ae50dd49e35f2d9b24323e84367a2506
[prefix] Add .text16.early section

Add a section .text16.early which is always kept inline with the
prefix.  This will allow for some code sharing between the .prefix and
.text16 sections.

Note that the simple solution of just prepending the .prefix section
to the .text16 section will not work, because a bug in Wyse Streaming
Manager server (WLDRM13.BIN) requires us to place a dummy PXENV+ entry
point at the start of .text16.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
src/arch/i386/prefix/libprefix.S
src/arch/i386/prefix/romprefix.S
src/arch/i386/scripts/i386.lds
src/util/zbin.c