From 10aabd90395d251f528eb0342df4a7601082e41e Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Mon, 7 Oct 2002 19:12:36 +0000 Subject: 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 --- sys/boot/i386/btx/btxldr/btxldr.S | 2 +- sys/boot/i386/btx/btxldr/btxldr.s | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/boot') diff --git a/sys/boot/i386/btx/btxldr/btxldr.S b/sys/boot/i386/btx/btxldr/btxldr.S index 67a986c767393..b03354c3eb4cc 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 67a986c767393..b03354c3eb4cc 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 -- cgit v1.3