summaryrefslogtreecommitdiff
path: root/core/ui.inc
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-05-13 22:46:25 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-05-13 22:46:25 -0700
commit4cc0c3ab6541753b89cba58c345c0cae8c7d151d (patch)
treefb8904a1e48da982a6fe3eb105a5c8be20c5a342 /core/ui.inc
parent95a461a83adf65aa5689b65f85330ce970121f56 (diff)
downloadsyslinux-4cc0c3ab6541753b89cba58c345c0cae8c7d151d.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/ui.inc')
-rw-r--r--core/ui.inc10
1 files changed, 5 insertions, 5 deletions
diff --git a/core/ui.inc b/core/ui.inc
index c85383a6..b9d6e767 100644
--- a/core/ui.inc
+++ b/core/ui.inc
@@ -572,12 +572,12 @@ getchar_timeout:
;
; Anything else is assumed to be a Linux kernel.
;
- section .bss
+ section .bss16
alignb 4
Kernel_EAX resd 1
Kernel_SI resw 1
- section .text
+ section .text16
kernel_good_saved:
; Alternate entry point for which the return from
; searchdir is stored in memory. This is used for
@@ -683,7 +683,7 @@ is_bss_sector equ is_bad_image
is_disk_image equ is_bad_image
%endif
- section .data
+ section .data16
boot_prompt db 'boot: ', 0
wipe_char db BS, ' ', BS, 0
err_badimage db 'Invalid image type for this media type!', CR, LF, 0
@@ -703,7 +703,7 @@ kerneltype_table:
dw is_com32_image ; VK_COM32
dw is_config_file ; VK_CONFIG
- section .bss
+ section .bss16
alignb 4
ThisKbdTo resd 1 ; Temporary holder for KbdTimeout
ThisTotalTo resd 1 ; Temporary holder for TotalTimeout
@@ -713,7 +713,7 @@ KbdFlags resb 1 ; Check for keyboard escapes
FuncFlag resb 1 ; Escape sequences received from keyboard
KernelType resb 1 ; Kernel type, from vkernel, if known
- section .text
+ section .text16
;
; Linux kernel loading code is common.
;