...instead of S_NON_LAZY_SYMBOL_POINTERS. This matches ld64.
Part of PR50769.
While here, also remove an old TODO that was done in D87178.
Paths
| Differential D104594
[lld/mac] Give __DATA,__thread_ptrs type S_THREAD_LOCAL_VARIABLE_POINTERS ClosedPublic Authored by thakis on Jun 19 2021, 7:15 AM.
Details
Summary ...instead of S_NON_LAZY_SYMBOL_POINTERS. This matches ld64. Part of PR50769. While here, also remove an old TODO that was done in D87178.
Diff Detail
Event Timelinethakis added a child revision: D104596: [lld/mac] Make sure __thread_ptrs is in front of __thread_bss.Jun 19 2021, 7:59 AM This revision is now accepted and ready to land.Jun 19 2021, 9:41 AM This revision was landed with ongoing or failed builds.Jun 19 2021, 9:57 AM Closed by commit rG17271ece0da6: [lld/mac] Give __DATA,__thread_ptrs type S_THREAD_LOCAL_VARIABLE_POINTERS (authored by thakis). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 353203 lld/MachO/SyntheticSections.h
lld/MachO/SyntheticSections.cpp
lld/test/MachO/tlv-dylib.s
lld/test/MachO/tlv.s
|
personally I would have put this check under section-headers.s (esp since the GOT isn't relevant to tlv-dylib.s) but I suppose it doesn't matter too much