glibc uses this option to link libpthread.so
glibc/nptl/Makefile:
LDFLAGS-pthread.so = -Wl,--enable-new-dtags,-z,nodelete,-z,initfirst
Paths
| Differential D48329
[ELF] Support -z initfirst ClosedPublic Authored by MaskRay on Jun 19 2018, 11:14 AM.
Details Summary glibc uses this option to link libpthread.so glibc/nptl/Makefile:
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jun 19 2018, 1:48 PM Closed by commit rL335090: [ELF] Support -z initfirst (authored by MaskRay). · Explain WhyJun 19 2018, 7:10 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 151951 ELF/Config.h
ELF/Driver.cpp
ELF/SyntheticSections.cpp
test/ELF/dt_flags.s
|