From 4cc0c3ab6541753b89cba58c345c0cae8c7d151d Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Wed, 13 May 2009 22:46:25 -0700 Subject: core: rename .text, .data and .bss to .text16, .data16, .bss16 Rename the .text, .data and .bss sections to .text16, .data16 and .bss16, in anticipation of being linked with compiler-generated 32-bit code, which presumably would like to use the standard section names. Signed-off-by: H. Peter Anvin --- core/extlinux.asm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'core/extlinux.asm') diff --git a/core/extlinux.asm b/core/extlinux.asm index 39b98136..2529ab09 100644 --- a/core/extlinux.asm +++ b/core/extlinux.asm @@ -102,7 +102,7 @@ trackbufsize equ 8192 trackbuf resb trackbufsize ; Track buffer goes here ; ends at 2800h - section .bss + section .bss16 SuperBlock resb 1024 ; ext2 superblock ClustSize resd 1 ; Bytes/cluster ("block") ClustMask resd 1 ; Sectors/cluster - 1 @@ -355,11 +355,11 @@ open_inode: pop di ret - section .bss + section .bss16 alignb 4 ThisInode resb EXT2_GOOD_OLD_INODE_SIZE ; The most recently opened inode - section .text + section .text16 ; ; close_file: ; Deallocates a file structure (pointer in SI) @@ -587,7 +587,7 @@ searchdir: jmp .symlink_finish - section .bss + section .bss16 alignb 4 SymlinkBuf resb SYMLINK_SECTORS*SECTOR_SIZE+64 SymlinkTmpBuf equ trackbuf @@ -596,7 +596,7 @@ ThisDir resd 1 EndBlock resw 1 SymlinkCtr resb 1 - section .text + section .text16 ; ; mangle_name: Mangle a filename pointed to by DS:SI into a buffer pointed ; to by ES:DI; ends on encountering any whitespace. @@ -903,7 +903,7 @@ build_curdir_str: ; Begin data section ; ----------------------------------------------------------------------------- - section .data + section .data16 copyright_str db ' Copyright (C) 1994-' asciidec YEAR db ' H. Peter Anvin et al', CR, LF, 0 -- cgit v1.2.1