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

IPL elf loader doesn't handle __constructor__ or __destructor__ attributes #131

Open
unwiredben opened this issue Nov 17, 2019 · 1 comment

Comments

@unwiredben
Copy link
Contributor

I tried to use the attribute((constructor)) to force my sin table init code to run before main(), but alas, the elf loader doesn't seem to process those. I might fix this, filing so I remember to look into this.

@Spritetm
Copy link
Owner

Spritetm commented Nov 17, 2019

Note that you can also do this outside of the elf loader by calling the constructors in apps-sdk/gloss/app_start.c .

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

No branches or pull requests

2 participants