This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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Å.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]