Haven't figured out the requirements yet, but the platform also provides TLS by using a special 2 sections in the output:
6: Section { segment: "__DATA", name: "__thread_vars", address: 100008000, size: 18, align: 8, kind: TlsVariables, flags: MachO { flags: 13 } }
7: Section { segment: "__DATA", name: "__thread_bss", address: 100008018, size: 4, align: 4, kind: UninitializedTls, flags: MachO { flags: 12 } }
Haven't figured out the requirements yet, but the platform also provides TLS by using a special 2 sections in the output: