| ... | ... | @@ -495,7 +495,7 @@ fn posixCallMainAndExit(argc_argv_ptr: [*]usize) callconv(.C) noreturn { |
| 495 | 495 | // ARMv6 targets (and earlier) have no support for TLS in hardware. |
| 496 | 496 | // FIXME: Elide the check for targets >= ARMv7 when the target feature API |
| 497 | 497 | // becomes less verbose (and more usable). |
| 498 | | if (comptime native_arch.isARM()) { |
| 498 | if (comptime native_arch.isArmOrThumb()) { |
| 499 | 499 | if (at_hwcap & std.os.linux.HWCAP.TLS == 0) { |
| 500 | 500 | // FIXME: Make __aeabi_read_tp call the kernel helper kuser_get_tls |
| 501 | 501 | // For the time being use a simple trap instead of a @panic call to |