Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More exception handling updates. #28

Merged

Conversation

jonathanpallant
Copy link
Contributor

  • The SVC asm trampoline can now be over-ridden
  • The Undefined, Prefetch and Abort handlers can either return never, or can return a new address to continue executing from when the handler is over
  • I tried to ensure the all the handlers are listed in the same order as the vector table, for consistency
  • Put every function in its own section in the hope that unused ones will be GC'd by the linker

- The SVC asm trampoline can now be over-ridden
- The Undefined, Prefetch and Abort handlers can either return never, or can return a new address to continue executing from when the handler is over
- I tried to ensure the all the handlers are listed in the same order as the vector table, for consistency
- Put every function in its own section in the hope that unused ones will be GC'd by the linker
@jonathanpallant jonathanpallant merged commit 22f1eb9 into rust-embedded:fix-undef-handler Apr 9, 2025
57 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants