From c8376af92d63d13574cae7d177b7d314dda44cfe Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Sat, 13 Feb 2016 12:50:13 -0700 Subject: add @ctz, @clz and compiler_rt implementation --- src/link.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/link.cpp') 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(); -- cgit v1.2.3