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

exit() not working #9

Open
NewbiZ opened this issue Jul 6, 2014 · 0 comments
Open

exit() not working #9

NewbiZ opened this issue Jul 6, 2014 · 0 comments
Assignees
Milestone

Comments

@NewbiZ
Copy link
Owner

NewbiZ commented Jul 6, 2014

Seems like exit() ulibc stub does not work properly. It will act like the first defined function is called on atexit() ?!
I suspect pushed arguments on exit() and the noreturn somehow breaks the cdecl ABI not used by sysexit().
This needs investigation.
sysexit() works tho.

@NewbiZ NewbiZ added bug labels Jul 6, 2014
@NewbiZ NewbiZ self-assigned this Jul 6, 2014
@NewbiZ NewbiZ added this to the ANSI ulibc milestone Jul 6, 2014
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

1 participant