summaryrefslogtreecommitdiff
path: root/core/init.inc
diff options
context:
space:
mode:
Diffstat (limited to 'core/init.inc')
-rw-r--r--core/init.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/init.inc b/core/init.inc
index 827a5097..201d1b46 100644
--- a/core/init.inc
+++ b/core/init.inc
@@ -18,13 +18,13 @@
; Common initialization code (inline)
;
- section .text
+ section .text16
common_init:
; Zero bss sections (but not .earlybss, since it may
; contain already-live data.)
xor eax,eax
- mov di,__bss_start
- mov cx,__bss_dwords
+ mov di,__bss16_start
+ mov cx,__bss16_dwords
rep stosd
mov di,__uibss_start
mov cx,__uibss_dwords
@@ -55,4 +55,4 @@ common_init:
add ax,PKTBUF_SIZE
loop .setbufptr
%endif
- section .text ; This is an inline file...
+ section .text16 ; This is an inline file...