From fb1c180c431e3ac07ca56f53299edea316883842 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Mon, 29 Dec 2025 14:43:20 +0100 Subject: x86_64/boot: fix section assignments in ld script --- arch/x86_64/src/boot/boot32.S | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'arch/x86_64/src/boot/boot32.S') diff --git a/arch/x86_64/src/boot/boot32.S b/arch/x86_64/src/boot/boot32.S index 79b3ec7..cea1607 100644 --- a/arch/x86_64/src/boot/boot32.S +++ b/arch/x86_64/src/boot/boot32.S @@ -5,14 +5,6 @@ */ .section .boot_bss, "aw", @nobits -/** - * @brief Storage for the multiboot2 information pointer. - */ -.global multiboot_information_pointer -multiboot_information_pointer: .skip 8 - -.align 4096 - page_maps_start: page_map_level_4: .skip 512 * 8 page_map_level_3_high: .skip 512 * 8 @@ -21,6 +13,12 @@ page_map_level_2: .skip 512 * 8 page_maps_end = . page_maps_size = page_maps_end - page_maps_start +/** + * @brief Storage for the multiboot2 information pointer. + */ +.global multiboot_information_pointer +multiboot_information_pointer: .skip 8 + /** * @brief Storage for the bootstrap stack. */ -- cgit v1.2.3