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/comboot.inc | |
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/comboot.inc')
-rw-r--r-- | core/comboot.inc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/core/comboot.inc b/core/comboot.inc index 1c4695ba..7d9efba2 100644 --- a/core/comboot.inc +++ b/core/comboot.inc @@ -17,7 +17,7 @@ ;; Common code for running a COMBOOT image ;; - section .text + section .text16 ; Parameter registers definition; this is the definition ; of the stack frame used by INT 21h and INT 22h. @@ -178,11 +178,11 @@ comboot_setup_api: loop .loop2 ret - section .bss + section .bss16 alignb 4 DOSSaveVectors resd 32 - section .data + section .data16 %define comboot_err(x) (DOSErrTramp+4*((x)-20h)) comboot_vectors: @@ -219,7 +219,7 @@ comboot_vectors: dw comboot_err(3Eh) ; INT 3E = DOS FPU emulation dw comboot_err(3Fh) ; INT 3F = DOS overlay manager - section .text + section .text16 ; INT 21h: generic DOS system call comboot_int21: cli @@ -705,7 +705,7 @@ comapi_dnsresolv: comapi_dnsresolv equ comapi_err %endif - section .text + section .text16 ; ; INT 22h AX=0011h Obsolete @@ -988,7 +988,7 @@ comapi_shufraw: mov ecx,P_ECX jmp shuffle_and_boot_raw - section .data + section .data16 %macro int21 2 db %1 @@ -1067,7 +1067,7 @@ feature_flags_len equ ($-feature_flags) err_notdos db ': attempted DOS system call INT ',0 err_comlarge db 'COMBOOT image too large.', CR, LF, 0 - section .bss + section .bss16 alignb 4 DOSErrTramp resd 33 ; Error trampolines ConfigName resb FILENAME_MAX |