From 87293b0a1150b1bc7467f6916419f56f9f2be075 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Mon, 24 Sep 2018 23:23:19 +0200 Subject: Initial commit --- asm/src/arch/x86_64/linker.ld | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 asm/src/arch/x86_64/linker.ld (limited to 'asm/src/arch/x86_64/linker.ld') 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) + } +} -- cgit v1.2.3