diff --git a/src/arch/x86_64/linker.ld b/src/arch/x86_64/linker.ld index 8334f3d3..08222888 100644 --- a/src/arch/x86_64/linker.ld +++ b/src/arch/x86_64/linker.ld @@ -22,7 +22,7 @@ SECTIONS { .boot : { /* ensure that the multiboot header is at the beginning */ - KEEP(*(.multiboot)) + KEEP(*(.multiboot_header)) } .text : diff --git a/src/arch/x86_64/multiboot_header.asm b/src/arch/x86_64/multiboot_header.asm index ed8c11bd..40d0e0fe 100644 --- a/src/arch/x86_64/multiboot_header.asm +++ b/src/arch/x86_64/multiboot_header.asm @@ -12,7 +12,7 @@ ; See the License for the specific language governing permissions and ; limitations under the License. -section .multiboot +section .multiboot_header header_start: dd 0xe85250d6 ; magic number (multiboot 2) dd 0 ; architecture 0 (protected mode i386)