Don't trash the %ecx value returned by relocate(). This was causing
authorMichael Brown <mcb30@etherboot.org>
Thu, 19 Jul 2007 14:54:33 +0000 (15:54 +0100)
committerMichael Brown <mcb30@etherboot.org>
Thu, 19 Jul 2007 15:07:31 +0000 (16:07 +0100)
commit2cfe0dee1f8960937a9049e10e91d8c70def546e
treecf48f503cf4ef88298887faa7233834a4b45cd8b
parenta8111e8ab71432b70f42843acf3623a2750da98e
Don't trash the %ecx value returned by relocate().  This was causing
us to round down the size for the relocation copy to the nearest 64kB
(+0x10 bytes); this just happened to work on most machines because the
last 64kB of the image is all-zeroes anyway (it's the .bss).
src/arch/i386/prefix/libprefix.S