diff options
author | phk <phk@FreeBSD.org> | 2002-10-07 19:12:36 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-10-07 19:12:36 +0000 |
commit | 6bb1507f12d490730bbfe3406fff9c62ff193f91 (patch) | |
tree | 99e207f765dd436d37bc62acaea627d5f8dbef96 /sys/boot/i386 | |
parent | a2b394143212aa74e7ce9f4e741f0edf0d9c4c08 (diff) | |
download | FreeBSD-src-6bb1507f12d490730bbfe3406fff9c62ff193f91.zip FreeBSD-src-6bb1507f12d490730bbfe3406fff9c62ff193f91.tar.gz |
Correctly adjust for moved start address.
It seems that the existence of a "depend" target in src/sys/boot is not
to be taken as an indication that it actually does what one would expect,
at least it clearly threw my testing off.
Apologies to: jhb
Diffstat (limited to 'sys/boot/i386')
-rw-r--r-- | sys/boot/i386/btx/btxldr/btxldr.S | 2 | ||||
-rw-r--r-- | sys/boot/i386/btx/btxldr/btxldr.s | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/boot/i386/btx/btxldr/btxldr.S b/sys/boot/i386/btx/btxldr/btxldr.S index 67a986c..b03354c 100644 --- a/sys/boot/i386/btx/btxldr/btxldr.S +++ b/sys/boot/i386/btx/btxldr/btxldr.S @@ -166,7 +166,7 @@ ifdef(`BTXLDR_VERBOSE',` call hexout # relocation call putstr # message ') - addl $PAG_SIZ,%ebp # Display + addl $PAG_SIZ * 2,%ebp # Display ifdef(`BTXLDR_VERBOSE',` movl $m_base,%esi # the movl %ebp,%eax # user diff --git a/sys/boot/i386/btx/btxldr/btxldr.s b/sys/boot/i386/btx/btxldr/btxldr.s index 67a986c..b03354c 100644 --- a/sys/boot/i386/btx/btxldr/btxldr.s +++ b/sys/boot/i386/btx/btxldr/btxldr.s @@ -166,7 +166,7 @@ ifdef(`BTXLDR_VERBOSE',` call hexout # relocation call putstr # message ') - addl $PAG_SIZ,%ebp # Display + addl $PAG_SIZ * 2,%ebp # Display ifdef(`BTXLDR_VERBOSE',` movl $m_base,%esi # the movl %ebp,%eax # user |