This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
executable stack in gcc shared libs?
- From: PaweÅ Sikora <pluto at agmk dot net>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 20 Mar 2008 21:17:31 +0100
- Subject: executable stack in gcc shared libs?
Hi all,
I noticed (readelf -lW/grep) that some gcc libraries require executable stack:
/usr/lib64/libffi.so.4.0.1 GNU_STACK 0x000000 0x0000000000000000
0x0000000000000000 0x000000 0x000000 RWE 0x8
/usr/lib64/libgcj.so.8.0.0 GNU_STACK 0x000000 0x0000000000000000
0x0000000000000000 0x000000 0x000000 RWE 0x8
/usr/lib64/libgmp.so.3.4.2 GNU_STACK 0x000000 0x0000000000000000
0x0000000000000000 0x000000 0x000000 RWE 0x8
Is this expected marking or just missed `-z noexecstack` for assembly parts?
BR,
PaweÅ.