summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/grub.cfg2
-rw-r--r--config/kernel.ld4
2 files changed, 5 insertions, 1 deletions
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)
+ }
}