gptmbr: Use %bp for references into phdr and the stack
commitbd68053c3c50a344fb412a476302900e298d53ee
authorH. Peter Anvin <hpa@zytor.com>
Mon, 25 Feb 2008 23:23:47 +0000 (25 15:23 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 25 Feb 2008 23:23:47 +0000 (25 15:23 -0800)
treea479128bba64441aa39fb9e85010b64b6fce1525
parent241be5df8baa2089a635a2a373e5a219d184015d
gptmbr: Use %bp for references into phdr and the stack

Set up %bp as a permanent frame pointer and use it to reference stack
and phdr fields; by putting phdr in the bootsect slot we can use it
for phdr references with small displacements.  This saves 5 bytes.
mbr/gptmbr.S