diff options
| author | Chloe M. <chloe@aptel.org> | 2026-08-20 05:53:55 +0000 |
|---|---|---|
| committer | Chloe M. <chloe@aptel.org> | 2026-08-20 05:56:44 +0000 |
| commit | ae526fa3375b708d4380d0227e27d32e06b40b92 (patch) | |
| tree | 3d8d9a448d4a9530aa4e45a75b292c1bd0b5bc0d /boot/arch/amd64/mbr/link.ld | |
initial commit
Signed-off-by: Chloe M. <chloe@aptel.org>
Diffstat (limited to 'boot/arch/amd64/mbr/link.ld')
| -rw-r--r-- | boot/arch/amd64/mbr/link.ld | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/boot/arch/amd64/mbr/link.ld b/boot/arch/amd64/mbr/link.ld new file mode 100644 index 0000000..6d25985 --- /dev/null +++ b/boot/arch/amd64/mbr/link.ld @@ -0,0 +1,21 @@ +OUTPUT_FORMAT(binary) + +SECTIONS { + . = 0x7C00; + + .text : { + *(.text) + } + + .data : { + *(.data) + } + + .rodata : { + *(.rodata) + } + + .bss : { + *(.bss) + } +} |
