diff options
author | Daniel Weipert <code@drogueronin.de> | 2018-09-24 23:23:19 +0200 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2018-09-24 23:23:19 +0200 |
commit | 87293b0a1150b1bc7467f6916419f56f9f2be075 (patch) | |
tree | c254231193037001f6875286d80b13250e47b9f7 /asm/src/arch/x86_64/linker.ld |
Initial commit
Diffstat (limited to 'asm/src/arch/x86_64/linker.ld')
-rw-r--r-- | asm/src/arch/x86_64/linker.ld | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/asm/src/arch/x86_64/linker.ld b/asm/src/arch/x86_64/linker.ld new file mode 100644 index 0000000..5d788f1 --- /dev/null +++ b/asm/src/arch/x86_64/linker.ld @@ -0,0 +1,16 @@ +ENTRY(start) + +SECTIONS { + . = 1M; + + .boot : + { + /* ensure that the multiboot header is at the beginning */ + *(.multiboot_header) + } + + .text : + { + *(.text) + } +} |