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

ld error because of script.goiltemplate #39

Open
LMG opened this issue Aug 4, 2016 · 0 comments
Open

ld error because of script.goiltemplate #39

LMG opened this issue Aug 4, 2016 · 0 comments

Comments

@LMG
Copy link

LMG commented Aug 4, 2016

I've noticed an issue with script.goiltemplate for the stm32f407 target, although taking a quick glance at other architectures it seems present as well.

The code starting at line 252 of script.goiltemplate will cause an error upon evaluating __SEG_ALIGN_% !proc::KIND %_% !proc::NAME %_STACK_RGN (namely in the previous ALIGN referencing it) if the size of the stack section is bigger than 4K.

I am unsure if the stack size can/should be that high, but in any case it is causing hard to understand errors.
It could be fixed by either outputting an error or giving a default value to __SEG_SIZE_% !proc::KIND %_% !proc::NAME %_STACK_RGN

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

No branches or pull requests

3 participants