Serenity Operating System
at hosted 45 lines 822 B view raw
1ENTRY(start) 2 3SECTIONS 4{ 5 . = 0xc0100000; 6 7 start_of_kernel_image = .; 8 9 .text ALIGN(4K) : AT (ADDR(.text) - 0xc0000000) 10 { 11 Arch/i386/Boot/boot.ao 12 *(.multiboot) 13 start_of_kernel_text = .; 14 *(.text) 15 *(.text.startup) 16 end_of_kernel_text = .; 17 } 18 19 .rodata ALIGN(4K) : AT (ADDR(.rodata) - 0xc0000000) 20 { 21 start_ctors = .; 22 *(.ctors) 23 end_ctors = .; 24 25 *(.rodata) 26 } 27 28 .data ALIGN(4K) : AT (ADDR(.data) - 0xc0000000) 29 { 30 start_of_kernel_data = .; 31 *(.data) 32 end_of_kernel_data = .; 33 } 34 35 .bss ALIGN(4K) : AT (ADDR(.bss) - 0xc0000000) 36 { 37 start_of_kernel_bss = .; 38 *(page_tables) 39 *(COMMON) 40 *(.bss) 41 end_of_kernel_bss = .; 42 } 43 44 end_of_kernel_image = .; 45}