| ... | @@ -135,6 +135,10 @@ comptime { | ... | @@ -135,6 +135,10 @@ comptime { |
| 135 | @export("__negdf2", @import("compiler_rt/negXf2.zig").__negdf2, linkage); | 135 | @export("__negdf2", @import("compiler_rt/negXf2.zig").__negdf2, linkage); |
| 136 | | 136 | |
| 137 | if (is_arm_arch and !is_arm_64) { | 137 | if (is_arm_arch and !is_arm_64) { |
| | 138 | @export("__aeabi_unwind_cpp_pr0", __aeabi_unwind_cpp_pr0, strong_linkage); |
| | 139 | @export("__aeabi_unwind_cpp_pr1", __aeabi_unwind_cpp_pr1, linkage); |
| | 140 | @export("__aeabi_unwind_cpp_pr2", __aeabi_unwind_cpp_pr2, linkage); |
| | 141 | |
| 138 | @export("__aeabi_ldivmod", __aeabi_ldivmod, linkage); | 142 | @export("__aeabi_ldivmod", __aeabi_ldivmod, linkage); |
| 139 | @export("__aeabi_uldivmod", __aeabi_uldivmod, linkage); | 143 | @export("__aeabi_uldivmod", __aeabi_uldivmod, linkage); |
| 140 | | 144 | |
| ... | @@ -273,6 +277,16 @@ pub fn panic(msg: []const u8, error_return_trace: ?*builtin.StackTrace) noreturn | ... | @@ -273,6 +277,16 @@ pub fn panic(msg: []const u8, error_return_trace: ?*builtin.StackTrace) noreturn |
| 273 | } | 277 | } |
| 274 | } | 278 | } |
| 275 | | 279 | |
| | 280 | extern fn __aeabi_unwind_cpp_pr0() void { |
| | 281 | unreachable; |
| | 282 | } |
| | 283 | extern fn __aeabi_unwind_cpp_pr1() void { |
| | 284 | unreachable; |
| | 285 | } |
| | 286 | extern fn __aeabi_unwind_cpp_pr2() void { |
| | 287 | unreachable; |
| | 288 | } |
| | 289 | |
| 276 | extern fn __divmoddi4(a: i64, b: i64, rem: *i64) i64 { | 290 | extern fn __divmoddi4(a: i64, b: i64, rem: *i64) i64 { |
| 277 | @setRuntimeSafety(is_test); | 291 | @setRuntimeSafety(is_test); |
| 278 | | 292 | |