| ... | ... | @@ -158,30 +158,12 @@ const current_dtv_offset = switch (native_arch) { |
| 158 | 158 | |
| 159 | 159 | /// Per-thread storage for the ELF TLS ABI. |
| 160 | 160 | const AbiTcb = switch (current_variant) { |
| 161 | | .I_original, .I_modified => switch (native_arch) { |
| 162 | | .aarch64, |
| 163 | | .aarch64_be, |
| 164 | | .alpha, |
| 165 | | .arm, |
| 166 | | .armeb, |
| 167 | | .hppa, |
| 168 | | .microblaze, |
| 169 | | .microblazeel, |
| 170 | | .sh, |
| 171 | | .sheb, |
| 172 | | .thumb, |
| 173 | | .thumbeb, |
| 174 | | .xtensa, |
| 175 | | .xtensaeb, |
| 176 | | => extern struct { |
| 177 | | /// This is offset by `current_dtv_offset`. |
| 178 | | dtv: usize, |
| 179 | | _reserved: ?*anyopaque, |
| 180 | | }, |
| 181 | | else => extern struct { |
| 182 | | /// This is offset by `current_dtv_offset`. |
| 183 | | dtv: usize, |
| 184 | | }, |
| 161 | .I_original => extern struct { |
| 162 | dtv: usize, |
| 163 | _reserved: ?*anyopaque, |
| 164 | }, |
| 165 | .I_modified => extern struct { |
| 166 | dtv: usize, |
| 185 | 167 | }, |
| 186 | 168 | .II => extern struct { |
| 187 | 169 | /// This is self-referential. |