linker: ensured .bss comes after .data, and added map file output

This commit is contained in:
A.M. Rowsell 2025-12-21 14:40:15 -05:00
commit e3c9c7b642
Signed by: amr
GPG key ID: E0879EDBDB0CA7B1
4 changed files with 11 additions and 5 deletions

View file

@ -6,5 +6,6 @@ SECTIONS
.boot 0xC3C3 : { *(.boot) *(boot) }
.vectors 0xF000 : { *(.vectors) }
.data 0x7000 : { *(.data) }
.bss : { *(.bss) }
__data_end = .;
.bss __data_end : { *(.bss) }
}