Thus spake Thorsten Glaser ([email protected]): > >all programs made with diet gcc ... > >have executable stacks. They should not. > > > >Workaround: > >Some tiny programs I tried worked after > >execstack -c prog > >to clear the executable stack flag. > can you say anything about this?
This should not longer be the case. I noticed a few months (?) ago and fixed it in the CVS at least. It turns out that this is caused by assembler files (*.s, not *.c with inline assembler) that do not declare that the stack is non-executable. No piece of code in dietlibc actually needs the stack to be executable. We now pass -Wa,--noexecstack to as in the Makefile. Felix -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

