aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-02-01 22:10:36 -0800
committerH. Peter Anvin <hpa@zytor.com>2007-02-01 22:10:36 -0800
commitacd7bcea0b3d07c48cdd7af1de2fdacb7604b409 (patch)
tree5eda5d6f845331ac95a11c149d4b36a5da461e97
parentcc85ed02fd42780769c93c85e79769c22607ea45 (diff)
downloadsyslinux-elf-acd7bcea0b3d07c48cdd7af1de2fdacb7604b409.tar.gz
syslinux-elf-acd7bcea0b3d07c48cdd7af1de2fdacb7604b409.tar.xz
syslinux-elf-acd7bcea0b3d07c48cdd7af1de2fdacb7604b409.zip
Rebalance sections for especially extlinux
-rw-r--r--extlinux.asm6
-rw-r--r--layout.inc4
2 files changed, 5 insertions, 5 deletions
diff --git a/extlinux.asm b/extlinux.asm
index 7ddc278a..e41f6ae3 100644
--- a/extlinux.asm
+++ b/extlinux.asm
@@ -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
diff --git a/layout.inc b/layout.inc
index d688a6e9..f4e03079 100644
--- a/layout.inc
+++ b/layout.inc
@@ -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.