
Memory Configuration

Name             Origin             Length             Attributes
*default*        0x00000000         0xffffffff

Linker script and memory map

Address of section .main set to 0x600

.main           0x00000600      0x10e
 *(.main)
 .main          0x00000600      0x10e sysldr.o

.text           0x00000710      0xf02
 *(.text)
 .text          0x00000710       0xe0 hddio.o
                0x0000071a                ATASectorsCount
                0x00000722                send_command_to_hdd
                0x0000071b                ATASectorNumber
                0x0000071e                ATAHead
                0x000007b9                device_reset
                0x00000714                ChannelNumber
                0x00000720                ATACommand
                0x0000071c                ATACylinder
                0x00000716                DiskNumber
                0x00000717                ATABasePortAddr
                0x00000719                ATAFeatures
                0x0000071f                ATAAddressMode
 .text          0x000007f0       0x5c hddproc.o
                0x000007f4                read_hdd_sector
                0x000007f0                SectorAddress
 *fill*         0x0000084c        0x4 00
 .text          0x00000850      0x22d fatsp.o
                0x00000a4f                read_sectors
                0x00000850                file_name
                0x0000091f                read_file
                0x00000884                setup_fat32
 *fill*         0x00000a7d        0x3 00
 .text          0x00000a80      0xaa0 dllman.o
                0x00000f23                LinkLibrary
                0x00000df9                PerformLinkage
                0x00001170                GetExpByName
                0x00000aa5                ProcessFile
                0x00001449                LToLowerCase
                0x000012d7                GetProcAddress
                0x00001370                LPrintLine
                0x0000147d                LPrintInt
                0x00001399                LPrintChar
 .text          0x00001520       0xf2 stdfunc.o
                0x00001542                strcpy
                0x00001520                memcpy
                0x000015c7                strcmp
                0x0000156a                strlen

.data           0x00001620       0x30
 *(.data)
 .data          0x00001620       0x1e gdt.o
                0x00001638                gdtr
                0x00001620                gdt
                0x00001638                gdt_size
                0x0000163a                gdt_addr
 *fill*         0x0000163e        0x2 00
 .data          0x00001640       0x10 dllman.o
                0x00001640                Attribute

.bss            0x00001650      0x1b0
 *(.bss .bss.* .gnu.linkonce.b.*)
 .bss           0x00001650        0xc dllman.o
                0x00001650                DLLs
                0x00001654                LastError
                0x00001658                CursorPos
 *(COMMON)
                0x0000165c                end = .
                0x0000165c                PROVIDE (_end, .)
                0x00001800                . = ALIGN (0x200)
 *fill*         0x0000165c      0x1a4 00
LOAD hddio.o
LOAD hddproc.o
LOAD sysldr.o
LOAD gdt.o
LOAD fatsp.o
LOAD dllman.o
LOAD stdfunc.o
OUTPUT(sysldr binary)

.comment        0x00001800       0x14
 .comment       0x00001800       0x14 dllman.o
