[klibc] klibc and executable stack

Martin Schlemmer azarah at nosferatu.za.org
Sat Jul 8 08:35:00 PDT 2006


Just wondering if klibc are planning on supporting the .note.GNU-stack
section and all it entails ?

On sort of a related topic - we have QA tests that checks if something
have executable stack.  Klibc of course fails due to the many .S, and
not passing --noexecstack to gas.  Adding this to
EXTRA_KLIBC{C,A,LD}FLAGS fixes the issue for all the syscalls, crt0.o,
interp.o and the .so, as well as all the static linked binaries are also
fine.  All shared binaries though have executable stack, even with
noexecstack passed to both gas and ld.  Anybody know if the way klibc
shared binaries work needs executable stack ?


Martin Schlemmer

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://www.zytor.com/pipermail/klibc/attachments/20060708/05fc6aed/attachment.bin 

More information about the klibc mailing list