Skip to content

Enforce 8-byte initial stack pointer alignment #465

New issue

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

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

Already on GitHub? # to your account

Merged
merged 1 commit into from
Feb 12, 2023
Merged

Conversation

adamgreig
Copy link
Member

After #463 we discovered that adding a second linker script via another compiler flag could be used to override _stack_start without triggering the assert in the main linker script. By masking the value, we force alignment even when the assert doesn't otherwise trigger.

@adamgreig adamgreig requested a review from a team as a code owner February 11, 2023 03:13
@adamgreig
Copy link
Member Author

bors r+

@bors
Copy link
Contributor

bors bot commented Feb 12, 2023

@bors bors bot merged commit 9d63aa9 into master Feb 12, 2023
@bors bors bot deleted the force-sp-alignment branch February 12, 2023 01:19
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants