| 1 | ENTRY(_start) |
| 2 | |
| 3 | SECTIONS { |
| 4 | . = 1M; |
| 5 | |
| 6 | .boot : |
| 7 | { |
| 8 | /* Ensure that the multiboot header is at the beginning! */ |
| 9 | *(.multiboot_header) |
| 10 | } |
| 11 | |
| 12 | . = ALIGN(4K); |
| 13 | .text : |
| 14 | { |
| 15 | *(.text .text.*) |
| 16 | } |
| 17 | |
| 18 | . = ALIGN(4K); |
| 19 | .rodata : |
| 20 | { |
| 21 | *(.rodata .rodata.*) |
| 22 | } |
| 23 | |
| 24 | . = ALIGN(4K); |
| 25 | .data : |
| 26 | { |
| 27 | *(.data .data.*) |
| 28 | } |
| 29 | |
| 30 | . = ALIGN(4K); |
| 31 | .bss : |
| 32 | { |
| 33 | *(.bss .bss.*) |
| 34 | } |
| 35 | } |
