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

asm code calls clear_bss without a valid stack pointer #84

Closed
axel-h opened this issue Jun 7, 2021 · 2 comments
Closed

asm code calls clear_bss without a valid stack pointer #84

axel-h opened this issue Jun 7, 2021 · 2 comments
Labels

Comments

@axel-h
Copy link
Member

axel-h commented Jun 7, 2021

In #82 we call clear_bss from asm code now when CONFIG_IMAGE_BINARY is enabled - but there is no stack set up. This is a bit dangerous, since C code always assumes there is stack. It may work if the function is simple enough so C does not create a stack frame.

@axel-h
Copy link
Member Author

axel-h commented Feb 2, 2022

This will be fixed when #136 is merged, as a proper stack pointer is set up then.

@kent-mcleod
Copy link
Member

Fixed by #136

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants