Skip to content

Conversation

@trofi
Copy link

@trofi trofi commented Sep 19, 2022

Without the change binutils-2.39 flags the issue of executable stack due to missing explicit stack marking (usually inserted by gcc):

cc -o unzip  -Lbzip2 unzip.o crc32.o crc_gcc.o ... -s
ld: warning: crc_gcc.o: missing .note.GNU-stack section implies executable stack
ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker

The change adds marking with define guards.

Without the change binutils-2.39 flags the issue of executable stack due
to missing explicit stack marking (usually inserted by gcc):

    cc -o unzip  -Lbzip2 unzip.o crc32.o crc_gcc.o ... -s
    ld: warning: crc_gcc.o: missing .note.GNU-stack section implies executable stack
    ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker

The change adds marking with define guards.
@trofi
Copy link
Author

trofi commented Nov 18, 2022

/cc @madler

1 similar comment
@trofi
Copy link
Author

trofi commented Oct 16, 2023

/cc @madler

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

Successfully merging this pull request may close these issues.

1 participant