This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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] |
On 04/26/2016 10:58 PM, d wk wrote:
In a project of mine, I needed to run some code before any constructors from any system libraries (such as libc or libpthread). The linker/loader -z initfirst feature is perfect for this, but it only supports one shared library.
Does -z initfirst affect just constructor execution, or symbol binding as well?
As initfirst is currently defined for GNU, there can only be one initfirst library.
Florian
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |