diff options
Diffstat (limited to 'arch/x86/boot/bootloader/linker.ld')
-rw-r--r-- | arch/x86/boot/bootloader/linker.ld | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/x86/boot/bootloader/linker.ld b/arch/x86/boot/bootloader/linker.ld new file mode 100644 index 0000000..5e8dfd6 --- /dev/null +++ b/arch/x86/boot/bootloader/linker.ld @@ -0,0 +1,10 @@ +OUTPUT_FORMAT("binary") +OUTPUT_ARCH(i386) +ENTRY(_start) + +SECTIONS +{ + /* BIOS likes always to load the boot sector to the address 0x7c00, + where it is sure will not be occupied by important routines. */ + . = 0x7c00; +} |