| ... | ... | @@ -385,32 +385,30 @@ const test_targets = blk: { |
| 385 | 385 | .link_libc = true, |
| 386 | 386 | }, |
| 387 | 387 | |
| 388 | // Similar to Thumb, we need long calls on Hexagon due to relocation range issues. |
| 388 | 389 | .{ |
| 389 | | .target = .{ |
| 390 | | .cpu_arch = .hexagon, |
| 391 | | .os_tag = .linux, |
| 392 | | .abi = .none, |
| 393 | | }, |
| 390 | .target = std.Target.Query.parse(.{ |
| 391 | .arch_os_abi = "hexagon-linux-none", |
| 392 | .cpu_features = "baseline+long_calls", |
| 393 | }) catch unreachable, |
| 394 | 394 | // https://github.com/llvm/llvm-project/pull/111217 |
| 395 | 395 | .skip_modules = &.{"std"}, |
| 396 | 396 | }, |
| 397 | 397 | .{ |
| 398 | | .target = .{ |
| 399 | | .cpu_arch = .hexagon, |
| 400 | | .os_tag = .linux, |
| 401 | | .abi = .musl, |
| 402 | | }, |
| 398 | .target = std.Target.Query.parse(.{ |
| 399 | .arch_os_abi = "hexagon-linux-musl", |
| 400 | .cpu_features = "baseline+long_calls", |
| 401 | }) catch unreachable, |
| 403 | 402 | .link_libc = true, |
| 404 | 403 | // https://github.com/llvm/llvm-project/pull/111217 |
| 405 | 404 | .skip_modules = &.{"std"}, |
| 406 | 405 | }, |
| 407 | 406 | // Currently crashes in qemu-hexagon. |
| 408 | 407 | // .{ |
| 409 | | // .target = .{ |
| 410 | | // .cpu_arch = .hexagon, |
| 411 | | // .os_tag = .linux, |
| 412 | | // .abi = .musl, |
| 413 | | // }, |
| 408 | // .target = std.Target.Query.parse(.{ |
| 409 | // .arch_os_abi = "hexagon-linux-musl", |
| 410 | // .cpu_features = "baseline+long_calls", |
| 411 | // }) catch unreachable, |
| 414 | 412 | // .linkage = .dynamic, |
| 415 | 413 | // .link_libc = true, |
| 416 | 414 | // // https://github.com/llvm/llvm-project/pull/111217 |