From 880ba6b206315437d000ebcac5ed918350ac32cf Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Wed, 23 Feb 2022 11:05:08 +0800 Subject: [PATCH] runtime: add nac3 exception symbols --- src/runtime/src/kernel/api.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/runtime/src/kernel/api.rs b/src/runtime/src/kernel/api.rs index a234c8ba..b05467a6 100644 --- a/src/runtime/src/kernel/api.rs +++ b/src/runtime/src/kernel/api.rs @@ -202,6 +202,11 @@ pub fn resolve(required: &[u8]) -> Option { // exceptions api!(_Unwind_Resume = unwind::_Unwind_Resume), + api!(__nac3_personality = eh_artiq::artiq_personality), + api!(__nac3_raise = eh_artiq::raise), + api!(__nac3_resume = eh_artiq::resume), + api!(__nac3_end_catch = eh_artiq::end_catch), + // legacy exception symbols api!(__artiq_personality = eh_artiq::artiq_personality), api!(__artiq_raise = eh_artiq::raise), api!(__artiq_resume = eh_artiq::resume),