diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2016-02-13 12:50:13 -0700 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2016-02-13 12:50:13 -0700 |
| commit | c8376af92d63d13574cae7d177b7d314dda44cfe (patch) | |
| tree | 2695432da4ce275d6b1555855bc05e2ceb4c3bc1 /src/link.cpp | |
| parent | a5aeb7381f22a42a8f11523267541243bab5964d (diff) | |
| download | zig-c8376af92d63d13574cae7d177b7d314dda44cfe.tar.gz zig-c8376af92d63d13574cae7d177b7d314dda44cfe.zip | |
add @ctz, @clz and compiler_rt implementation
Diffstat (limited to 'src/link.cpp')
| -rw-r--r-- | src/link.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/link.cpp b/src/link.cpp index 318d6ffa34..5d684c46e6 100644 --- a/src/link.cpp +++ b/src/link.cpp @@ -205,6 +205,9 @@ static void construct_linker_job_linux(LinkJob *lj) { if (!g->link_libc && (g->out_type == OutTypeExe || g->out_type == OutTypeLib)) { Buf *builtin_o_path = build_o(g, "builtin"); lj->args.append(buf_ptr(builtin_o_path)); + + Buf *compiler_rt_o_path = build_o(g, "compiler_rt"); + lj->args.append(buf_ptr(compiler_rt_o_path)); } auto it = g->link_table.entry_iterator(); |
