
Memory Configuration

Name             Origin             Length             Attributes
*default*        0x0000000000000000 0xffffffffffffffff

Linker script and memory map

LOAD init.o
LOAD entry.o
                0x0000000000100000                . = 0x100000

.text           0x0000000000100000      0x14c
                0x0000000000100000                textBegin = .
 *(.multiboot)
 .multiboot     0x0000000000100000       0x20 entry.o
 *(.text)
 .text          0x0000000000100020       0x81 init.o
                0x0000000000100020                _Z11clearScreenv
                0x0000000000100051                _Z5printPKc
                0x000000000010008c                init
 *fill*         0x00000000001000a1        0x3 00
 .text          0x00000000001000a4       0x81 entry.o
 *(.rodata*)
 *fill*         0x0000000000100125        0x3 00
 .rodata        0x0000000000100128       0x20 init.o
                0x0000000000100148                _ctors = .
 *(.ctor)
 *(SORT(.ctors.*))
 *(.ctors)
                0x0000000000100148        0x4 LONG 0x0

.eh_frame       0x0000000000100150       0x70
 .eh_frame      0x0000000000100150       0x70 init.o

.data           0x00000000001001c0       0x22
 *(.data)
 .data          0x00000000001001c0        0x0 init.o
 .data          0x00000000001001c0       0x22 entry.o
                0x00000000001001e2                loadEnd = .

.bss            0x00000000001001e4     0x3e1c
 *(.bss)
 .bss           0x00000000001001e4        0x0 init.o
 .bss           0x00000000001001e4        0x0 entry.o
 *(COMMON)
                0x0000000000101000                . = ALIGN (0x1000)
 *fill*         0x00000000001001e4      0xe1c 00
                0x0000000000101000                _kernelPML4 = .
                0x0000000000102000                . = (. + 0x1000)
 *fill*         0x0000000000101000     0x1000 00
                0x0000000000102000                _kernelPDPTR = .
                0x0000000000103000                . = (. + 0x1000)
 *fill*         0x0000000000102000     0x1000 00
                0x0000000000103000                _kernelPD = .
                0x0000000000104000                . = (. + 0x1000)
 *fill*         0x0000000000103000     0x1000 00
                0x0000000000104000                bssEnd = .
                0x0000000000104000                _freeStart = .
OUTPUT(../kernel/kernel.bin binary)

.comment        0x0000000000000000       0x24
 .comment       0x0000000000000000       0x24 init.o

.note.GNU-stack
                0x0000000000000000        0x0
 .note.GNU-stack
                0x0000000000000000        0x0 init.o
