[fpc-pascal] Executable stack in shared library

Jonas Maebe jonas.maebe at elis.ugent.be
Sat May 22 14:03:57 CEST 2010


On 22 May 2010, at 14:00, Matthias Klumpp wrote:

>> That suggests that one of the object files used to link this library is
>> missing a ".note.GNU-stack" section for some reason.
> How can I detect which one it is? (How can I list the sections of an object
> file?)

readelf -S

If you compile the library with the -Cn parameter, the linking step will be skipped and the compiler will generate a file called link.res that (a.o.) contains all object files that will be linked into the library.


Jonas


More information about the fpc-pascal mailing list