diff options
| author | Jakub Konka <kubkon@jakubkonka.com> | 2021-03-01 00:16:01 +0100 |
|---|---|---|
| committer | Jakub Konka <kubkon@jakubkonka.com> | 2021-03-17 19:59:13 +0100 |
| commit | b0ee480177c5f146cc2a5540745572436e8ca510 (patch) | |
| tree | f429bd9deee46b5dfe0e1a5d803f61480cca06d3 /lib/std/macho.zig | |
| parent | 44ebf4863131fbf822caf6548a347abc52e5ce3b (diff) | |
| download | zig-b0ee480177c5f146cc2a5540745572436e8ca510.tar.gz zig-b0ee480177c5f146cc2a5540745572436e8ca510.zip | |
zld: merge and sort sections
Diffstat (limited to 'lib/std/macho.zig')
| -rw-r--r-- | lib/std/macho.zig | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/std/macho.zig b/lib/std/macho.zig index bca222b5b7..4cdb9dc40e 100644 --- a/lib/std/macho.zig +++ b/lib/std/macho.zig @@ -1227,6 +1227,24 @@ pub const S_ATTR_EXT_RELOC = 0x200; /// section has local relocation entries pub const S_ATTR_LOC_RELOC = 0x100; +/// template of initial values for TLVs +pub const S_THREAD_LOCAL_REGULAR = 0x11; + +/// template of initial values for TLVs +pub const S_THREAD_LOCAL_ZEROFILL = 0x12; + +/// TLV descriptors +pub const S_THREAD_LOCAL_VARIABLES = 0x13; + +/// pointers to TLV descriptors +pub const S_THREAD_LOCAL_VARIABLE_POINTERS = 0x14; + +/// functions to call to initialize TLV values +pub const S_THREAD_LOCAL_INIT_FUNCTION_POINTERS = 0x15; + +/// 32-bit offsets to initializers +pub const S_INIT_FUNC_OFFSETS = 0x16; + pub const cpu_type_t = integer_t; pub const cpu_subtype_t = integer_t; pub const integer_t = c_int; |
