summaryrefslogtreecommitdiff
path: root/core/localboot.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/localboot.inc
parent95a461a83adf65aa5689b65f85330ce970121f56 (diff)
downloadsyslinux-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/localboot.inc')
-rw-r--r--core/localboot.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/localboot.inc b/core/localboot.inc
index ae54737a..3fee7d62 100644
--- a/core/localboot.inc
+++ b/core/localboot.inc
@@ -22,7 +22,7 @@
; Boot a specified local disk. AX specifies the BIOS disk number; or
; -1 in case we should execute INT 18h ("next device.")
;
- section .text
+ section .text16
local_boot:
call vgaclearmode
@@ -67,9 +67,9 @@ local_boot:
int 18h ; Hope this does the right thing...
jmp kaboom ; If we returned, oh boy...
- section .data
+ section .data16
localboot_msg db 'Booting from local disk...', CR, LF, 0
- section .text
+ section .text16
%endif ; HAS_LOCALBOOT