| ... | @@ -158,30 +158,12 @@ const current_dtv_offset = switch (native_arch) { | ... | @@ -158,30 +158,12 @@ const current_dtv_offset = switch (native_arch) { |
| 158 | | 158 | |
| 159 | /// Per-thread storage for the ELF TLS ABI. | 159 | /// Per-thread storage for the ELF TLS ABI. |
| 160 | const AbiTcb = switch (current_variant) { | 160 | const AbiTcb = switch (current_variant) { |
| 161 | .I_original, .I_modified => switch (native_arch) { | 161 | .I_original => extern struct { |
| 162 | .aarch64, | 162 | dtv: usize, |
| 163 | .aarch64_be, | 163 | _reserved: ?*anyopaque, |
| 164 | .alpha, | 164 | }, |
| 165 | .arm, | 165 | .I_modified => extern struct { |
| 166 | .armeb, | 166 | dtv: usize, |
| 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 | }, | | |
| 185 | }, | 167 | }, |
| 186 | .II => extern struct { | 168 | .II => extern struct { |
| 187 | /// This is self-referential. | 169 | /// This is self-referential. |