[lld/mac] Give __DATA,__thread_ptrs type S_THREAD_LOCAL_VARIABLE_POINTERS
authorNico Weber <thakis@chromium.org>
Sat, 19 Jun 2021 13:54:11 +0000 (09:54 -0400)
committerNico Weber <thakis@chromium.org>
Sat, 19 Jun 2021 16:56:42 +0000 (12:56 -0400)
commit17271ece0da69c4dde0bbab60883b7fdd05be131
tree11113af1c43c945565898d4b2a61c432e6d812c7
parentb9c05aff205bab3f8ca639e44b825277d6cf48a9
[lld/mac] Give __DATA,__thread_ptrs type S_THREAD_LOCAL_VARIABLE_POINTERS

...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.

Differential Revision: https://reviews.llvm.org/D104594
lld/MachO/SyntheticSections.cpp
lld/MachO/SyntheticSections.h
lld/test/MachO/tlv-dylib.s
lld/test/MachO/tlv.s