unzip icon indicating copy to clipboard operation
unzip copied to clipboard

crc_i386.S: mark stack as non-executable on ELF platforms

Open trofi opened this issue 3 years ago • 2 comments

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 avatar Sep 19 '22 17:09 trofi

/cc @madler

trofi avatar Nov 18 '22 17:11 trofi

/cc @madler

trofi avatar Oct 16 '23 20:10 trofi