Replies: 1 comment 9 replies
-
Just to confirm you have set |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to get stack unwinding implemented using https://github.com/nbdd0121/unwinding .
That requires a linker symbol
__etext
and__eh_frame
, which are not provided by the rust linker. (flavour GNU LLD and__GNU_EH_FRAME_HDR
doesn't work, since the linker still doesn't emit the symbol for some reason)I'm having a hard time creating a link script that lets me still boot the kernel, since the boot loader fails to map pages (depends on the build script what mapping exactly fails), and I don't have any experience with writing link scripts.
The question is: How do I implement stack unwinding? Or at least what would a link script have to provide at which locations, to still work with the https://github.com/rust-osdev/bootloader , which I'm using?
If I'm running into the wrong direction, please let me know!
Beta Was this translation helpful? Give feedback.
All reactions