authorgravatar for thatlemon@gmail.comLemonBoy <thatlemon@gmail.com> 2020-02-11 15:24:18+01:00
committergravatar for thatlemon@gmail.comLemonBoy <thatlemon@gmail.com> 2020-02-11 15:24:18+01:00
logea8755fda9a76294a711715142e861c8a3333ed2
tree8aca9ef5b12d0d71cba8cd1e5b13f9b2b4566b3d
parente624c862894ec50998aafb3026d4ed45208acd6d

compiler-rt: Export the AEABI builtins when targeting thumb


1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/special/compiler_rt.zig+1-1
......@@ -149,7 +149,7 @@ comptime {
149149
150150 @export(@import("compiler_rt/clzsi2.zig").__clzsi2, .{ .name = "__clzsi2", .linkage = linkage });
151151
152 if (builtin.arch.isARM() and !is_test) {
152 if ((builtin.arch.isARM() or builtin.arch.isThumb()) and !is_test) {
153153 @export(@import("compiler_rt/arm.zig").__aeabi_unwind_cpp_pr0, .{ .name = "__aeabi_unwind_cpp_pr0", .linkage = linkage });
154154 @export(@import("compiler_rt/arm.zig").__aeabi_unwind_cpp_pr1, .{ .name = "__aeabi_unwind_cpp_pr1", .linkage = linkage });
155155 @export(@import("compiler_rt/arm.zig").__aeabi_unwind_cpp_pr2, .{ .name = "__aeabi_unwind_cpp_pr2", .linkage = linkage });