build: move float into zone section

This commit is contained in:
A.M. Rowsell 2025-12-21 14:28:12 -05:00
commit a81c4be013
Signed by: amr
GPG key ID: E0879EDBDB0CA7B1
2 changed files with 2 additions and 3 deletions

View file

@ -40,7 +40,7 @@
; ============================================================ ; ============================================================
; CODE ; CODE
; ============================================================ ; ============================================================
.section "float","acrx" .section "zone","acrx"
; ------------------------------------------------------------ ; ------------------------------------------------------------
; External routine you provide: ; External routine you provide:
; os_print_vec: prints ASCII character in A ; os_print_vec: prints ASCII character in A
@ -1615,7 +1615,7 @@ DIGLEN: .space 1
; 100000.0 = 143 43 50 00 ; 100000.0 = 143 43 50 00
; 1000000.0= 146 74 24 00 ; 1000000.0= 146 74 24 00
; ============================================================ ; ============================================================
.section "float","acrx" .section "zone","acrx"
pow10_table: pow10_table:
.byte 127, 0x00, 0x00, 0x00 ; 10^0 = 1 .byte 127, 0x00, 0x00, 0x00 ; 10^0 = 1
.byte 130, 0x20, 0x00, 0x00 ; 10^1 = 10 .byte 130, 0x20, 0x00, 0x00 ; 10^1 = 10

View file

@ -4,7 +4,6 @@ SECTIONS
{ {
.zone 0xA000 : { *(.zone) *(zone) } .zone 0xA000 : { *(.zone) *(zone) }
.boot 0xC3C3 : { *(.boot) *(boot) } .boot 0xC3C3 : { *(.boot) *(boot) }
.text 0xE000 : { *(.text) *(.float) *(float) }
.vectors 0xF000 : { *(.vectors) } .vectors 0xF000 : { *(.vectors) }
.data 0x7000 : { *(.data) } .data 0x7000 : { *(.data) }
.bss : { *(.bss) } .bss : { *(.bss) }