diff options
author | Freya Murphy <freya@freyacat.org> | 2025-04-17 13:44:55 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2025-04-17 14:10:42 -0400 |
commit | f8529d09bf1555c2dda61f5841b7ad4f42ce9715 (patch) | |
tree | 16e0cdede45741e945e663f72697665074b2b077 /config | |
parent | fmt (diff) | |
download | comus-f8529d09bf1555c2dda61f5841b7ad4f42ce9715.tar.gz comus-f8529d09bf1555c2dda61f5841b7ad4f42ce9715.tar.bz2 comus-f8529d09bf1555c2dda61f5841b7ad4f42ce9715.zip |
elf sym loading
Diffstat (limited to 'config')
-rw-r--r-- | config/grub.cfg | 2 | ||||
-rw-r--r-- | config/kernel.ld | 4 |
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) + } } |