HomePhabricator

[ELF] Support -z initfirst

Description

[ELF] Support -z initfirst

Summary:
glibc uses this option to link libpthread.so

glibc/nptl/Makefile:
LDFLAGS-pthread.so = -Wl,--enable-new-dtags,-z,nodelete,-z,initfirst

Reviewers: ruiu, echristo, espindola

Subscribers: emaste, arichardson, llvm-commits

Differential Revision: https://reviews.llvm.org/D48329

Details

Committed
MaskRayJun 19 2018, 7:06 PM
Differential Revision
D48329: [ELF] Support -z initfirst
Parents
rL335089: [asan] Add flushes to try to fix test
Branches
Unknown
Tags
Unknown