| ... | ... | @@ -687,8 +687,11 @@ static void construct_linker_job_darwin(LinkJob *lj) { |
| 687 | 687 | |
| 688 | 688 | static void construct_linker_job(LinkJob *lj) { |
| 689 | 689 | switch (lj->codegen->zig_target.os) { |
| 690 | | case ZigLLVM_UnknownOS: |
| 691 | | zig_unreachable(); |
| 690 | case ZigLLVM_UnknownOS: // freestanding |
| 691 | // TODO we want to solve this problem with LLD, but for now let's |
| 692 | // assume gnu binutils |
| 693 | // http://lists.llvm.org/pipermail/llvm-dev/2017-February/109835.html |
| 694 | return construct_linker_job_linux(lj); |
| 692 | 695 | case ZigLLVM_Linux: |
| 693 | 696 | if (lj->codegen->zig_target.arch.arch == ZigLLVM_hexagon) { |
| 694 | 697 | zig_panic("TODO construct hexagon_TC linker job"); |