diff options
author | H. Peter Anvin <hpa@zytor.com> | 2009-05-13 22:46:25 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-05-13 22:46:25 -0700 |
commit | 4cc0c3ab6541753b89cba58c345c0cae8c7d151d (patch) | |
tree | fb8904a1e48da982a6fe3eb105a5c8be20c5a342 /core/extlinux.asm | |
parent | 95a461a83adf65aa5689b65f85330ce970121f56 (diff) | |
download | syslinux-unify-pm.tar.gz |
core: rename .text, .data and .bss to .text16, .data16, .bss16unify-pm
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 <hpa@zytor.com>
Diffstat (limited to 'core/extlinux.asm')
-rw-r--r-- | core/extlinux.asm | 12 |
1 files changed, 6 insertions, 6 deletions
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 |