The option now just sets NOW bit in DT_FLAGS_1 but some loaders (e.g. FreeBSD) seem to requier also BIND_NOW bit to be set in DT_FLAGS. This is, also, what ld.bfd and gold do.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D13883
[ELF2] Correctly set bits when -z now is specified ClosedPublic Authored by davide on Oct 19 2015, 5:53 PM.
Details Summary The option now just sets NOW bit in DT_FLAGS_1 but some loaders (e.g. FreeBSD) seem to requier also BIND_NOW bit to be set in DT_FLAGS. This is, also, what ld.bfd and gold do.
Diff Detail
Event Timelinedavide updated this object. This revision is now accepted and ready to land.Oct 19 2015, 6:04 PM Closed by commit rL250799: [ELF2] Correctly set bits when -z now is specified. (authored by davide). · Explain WhyOct 19 2015, 10:00 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 37826 lld/trunk/ELF/OutputSections.cpp
lld/trunk/test/elf2/dt_flags.s
|