@@ -81,20 +81,20 @@ const tls_tcb_size = switch (native_arch) {
81
81
82
82
// Controls if the TP points to the end of the TCB instead of its beginning
83
83
const tls_tp_points_past_tcb = switch (native_arch ) {
84
- .riscv32 , .riscv64 , .mips , .mipsel , .mips64 , .mips64el , .powerpc , .powerpc64 , .powerpc64le = > true ,
84
+ .riscv32 , .riscv64 , .mips , .mipsel , .mips64 , .mips64el , .powerpc , .powerpcle , . powerpc64 , .powerpc64le = > true ,
85
85
else = > false ,
86
86
};
87
87
88
88
// Some architectures add some offset to the tp and dtv addresses in order to
89
89
// make the generated code more efficient
90
90
91
91
const tls_tp_offset = switch (native_arch ) {
92
- .mips , .mipsel , .mips64 , .mips64el , .powerpc , .powerpc64 , .powerpc64le = > 0x7000 ,
92
+ .mips , .mipsel , .mips64 , .mips64el , .powerpc , .powerpcle , . powerpc64 , .powerpc64le = > 0x7000 ,
93
93
else = > 0 ,
94
94
};
95
95
96
96
const tls_dtv_offset = switch (native_arch ) {
97
- .mips , .mipsel , .mips64 , .mips64el , .powerpc , .powerpc64 , .powerpc64le = > 0x8000 ,
97
+ .mips , .mipsel , .mips64 , .mips64el , .powerpc , .powerpcle , . powerpc64 , .powerpc64le = > 0x8000 ,
98
98
.riscv32 , .riscv64 = > 0x800 ,
99
99
else = > 0 ,
100
100
};
0 commit comments