Rebalance sections for especially extlinux
authorH. Peter Anvin <hpa@zytor.com>
Fri, 2 Feb 2007 06:10:36 +0000 (22:10 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 2 Feb 2007 06:10:36 +0000 (22:10 -0800)
extlinux.asm
layout.inc

index 7ddc278..e41f6ae 100644 (file)
@@ -5,7 +5,7 @@
 ;
 ;  A program to boot Linux kernels off an ext2/ext3 filesystem.
 ;
-;   Copyright (C) 1994-2006  H. Peter Anvin
+;   Copyright (C) 1994-2007  H. Peter Anvin
 ;
 ;  This program is free software; you can redistribute it and/or modify
 ;  it under the terms of the GNU General Public License as published by
@@ -111,7 +111,7 @@ trackbuf    resb trackbufsize       ; Track buffer goes here
 getcbuf                resb trackbufsize
                ; ends at 4800h
 
-               section .latebss
+               section .bss
 SuperBlock     resb 1024               ; ext2 superblock
 SuperInfo      resq 16                 ; DOS superblock expanded
 ClustSize      resd 1                  ; Bytes/cluster ("block")
@@ -1023,7 +1023,7 @@ open_inode:
                pop di
                ret
 
-               section .latebss
+               section .bss
                alignb 4
 ThisInode      resb EXT2_GOOD_OLD_INODE_SIZE   ; The most recently opened inode
 
index d688a6e..f4e0307 100644 (file)
@@ -1,6 +1,6 @@
 ; -----------------------------------------------------------------------
 ;
-;   Copyright 1994-2004 H. Peter Anvin - All Rights Reserved
+;   Copyright 1994-2007 H. Peter Anvin - All Rights Reserved
 ;
 ;   This program is free software; you can redistribute it and/or modify
 ;   it under the terms of the GNU General Public License as published by
@@ -26,7 +26,7 @@ TEXT_START    equ 7C00h
 ; The secondary BSS section, above the text; we really wish we could
 ; just make it follow .bcopy32 or hang off the end,
 ; but it doesn't seem to work that way.
-LATEBSS_START  equ 0B400h
+LATEBSS_START  equ 0B200h
 
 ; Reserve memory for the stack.  This causes checkov to abort the
 ; compile if we violate this space.