mirror of
https://github.com/ziglang/zig.git
synced 2026-01-27 17:55:24 +00:00
compiler-rt: Export the AEABI builtins when targeting thumb
This commit is contained in:
parent
e624c86289
commit
ea8755fda9
@ -149,7 +149,7 @@ comptime {
|
||||
|
||||
@export(@import("compiler_rt/clzsi2.zig").__clzsi2, .{ .name = "__clzsi2", .linkage = linkage });
|
||||
|
||||
if (builtin.arch.isARM() and !is_test) {
|
||||
if ((builtin.arch.isARM() or builtin.arch.isThumb()) and !is_test) {
|
||||
@export(@import("compiler_rt/arm.zig").__aeabi_unwind_cpp_pr0, .{ .name = "__aeabi_unwind_cpp_pr0", .linkage = linkage });
|
||||
@export(@import("compiler_rt/arm.zig").__aeabi_unwind_cpp_pr1, .{ .name = "__aeabi_unwind_cpp_pr1", .linkage = linkage });
|
||||
@export(@import("compiler_rt/arm.zig").__aeabi_unwind_cpp_pr2, .{ .name = "__aeabi_unwind_cpp_pr2", .linkage = linkage });
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user