| ... | @@ -306,8 +306,13 @@ pub fn buildCrtFile(comp: *Compilation, in_crt_file: CrtFile, prog_node: std.Pro | ... | @@ -306,8 +306,13 @@ pub fn buildCrtFile(comp: *Compilation, in_crt_file: CrtFile, prog_node: std.Pro |
| 306 | /// See lib/libc/musl/crt/ARCH/crt?.s . | 306 | /// See lib/libc/musl/crt/ARCH/crt?.s . |
| 307 | pub fn needsCrtiCrtn(target: std.Target) bool { | 307 | pub fn needsCrtiCrtn(target: std.Target) bool { |
| 308 | return switch (target.cpu.arch) { | 308 | return switch (target.cpu.arch) { |
| 309 | .riscv32, .riscv64, .wasm32, .wasm64 => false, | 309 | .loongarch64, |
| 310 | .loongarch64 => false, | 310 | .m68k, |
| | 311 | .riscv32, |
| | 312 | .riscv64, |
| | 313 | .wasm32, |
| | 314 | .wasm64, |
| | 315 | => false, |
| 311 | else => true, | 316 | else => true, |
| 312 | }; | 317 | }; |
| 313 | } | 318 | } |