Skip to content

Patch linker script to force keeping vectors section#127

Merged
phsauter merged 1 commit intomainfrom
ez/linker
Apr 17, 2026
Merged

Patch linker script to force keeping vectors section#127
phsauter merged 1 commit intomainfrom
ez/linker

Conversation

@ezelioli
Copy link
Copy Markdown
Contributor

Make sure that the .vectors section is not garbage collected (even if gc is enabled in linker options). This is necessary as the bootrom assumes that the exception and interrupt handler addresses are stored at the beginning of the SRAM.

Thanks @creinwar :)

Make sure that the .vectors section is not garbage collected (even if gc is
enabled in linker options). This is necessary as the bootrom assumes
that the exception and interrupt handler addresses are stored at the
beginning of the SRAM.
@phsauter
Copy link
Copy Markdown
Collaborator

I didn't realize it can just garbage collect that, the more you know :)

@phsauter phsauter merged commit f8d662b into main Apr 17, 2026
5 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