From f8529d09bf1555c2dda61f5841b7ad4f42ce9715 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Thu, 17 Apr 2025 13:44:55 -0400 Subject: elf sym loading --- config/grub.cfg | 2 +- config/kernel.ld | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'config') diff --git a/config/grub.cfg b/config/grub.cfg index 6cedb28..0157d85 100644 --- a/config/grub.cfg +++ b/config/grub.cfg @@ -4,6 +4,6 @@ terminal_input at_keyboard termianl_output console menuentry "kern" { - multiboot2 /boot/kernel + multiboot2 /boot/kernel.bin boot } diff --git a/config/kernel.ld b/config/kernel.ld index 0806257..52e9088 100644 --- a/config/kernel.ld +++ b/config/kernel.ld @@ -33,4 +33,8 @@ SECTIONS } kernel_end = .; + + /DISCARD/ : { + *(.eh_frame .note.GNU-stack .note.gnu.property .comment) + } } -- cgit v1.2.3-freya