From 448ecd41edd95b86930b5ac7288f2ea9311d476c Mon Sep 17 00:00:00 2001 From: Xander Date: Wed, 28 Jun 2023 21:56:30 +0200 Subject: Reorganizing --- arch/x86_64/boot/linker.ld | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 arch/x86_64/boot/linker.ld (limited to 'arch/x86_64/boot/linker.ld') diff --git a/arch/x86_64/boot/linker.ld b/arch/x86_64/boot/linker.ld new file mode 100644 index 0000000..5d788f1 --- /dev/null +++ b/arch/x86_64/boot/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