unzip
unzip copied to clipboard
crc_i386.S: mark stack as non-executable on ELF platforms
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.
/cc @madler
/cc @madler