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

Add .note.GNU-stack section to zsvjmp.S #225

Merged
merged 1 commit into from
Jul 26, 2022

Conversation

olebole
Copy link
Member

@olebole olebole commented Jul 20, 2022

Modern gcc on ELF systems require an explicit mark of whether the stack is executable or not. This one marks the stack as not executable.

@olebole
Copy link
Member Author

olebole commented Jul 22, 2022

For (Debian) Linux, this is successfully tested for a number of architectures: arm64, amd64, armel, armhf, hurd-i386, i386, mips64el, ppc64el, riscv64, x32.

@olebole olebole merged commit c68e223 into iraf-community:main Jul 26, 2022
@olebole olebole deleted the note.GNU-stack-section branch July 26, 2022 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant