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/graphics.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'core/graphics.inc') diff --git a/core/graphics.inc b/core/graphics.inc index 78ae0a65..beb9985e 100644 --- a/core/graphics.inc +++ b/core/graphics.inc @@ -21,7 +21,7 @@ ; ; Assumes CS == DS == ES. ; - section .text + section .text16 vgadisplayfile: ; This is a cheap and easy way to make sure the screen is @@ -300,7 +300,7 @@ vgacursorcommon: ret - section .data + section .data16 ; Map colors to consecutive DAC registers linear_color db 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 0 @@ -308,7 +308,7 @@ linear_color db 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 0 ; of this byte. UsingVGA db 0 - section .bss + section .bss16 alignb 4 LSSHeader equ $ LSSMagic resd 1 ; Magic number -- cgit v1.2.1