forked from M-Labs/nac3
1
0
Fork 0

provide __aeabi_l2d

This commit is contained in:
Sebastien Bourdeauducq 2020-06-09 12:57:13 +08:00
parent b16ec2c6a8
commit 7387e42306
1 changed files with 3 additions and 1 deletions

View File

@ -100,7 +100,7 @@ extern fn exception_unimplemented() {
macro_rules! api {
($i:ident) => ({
extern { static $i: u8; }
api!($i = &$i as *const _)
unsafe { api!($i = &$i as *const _) }
});
($i:ident, $d:item) => ({
$d
@ -130,6 +130,8 @@ fn resolve(required: &[u8]) -> Option<u32> {
api!(rtio_input_data = rtio::input_data),
api!(rtio_input_timestamped_data = rtio::input_timestamped_data),
api!(__aeabi_l2d),
api!(_Unwind_Resume = exception_unimplemented),
api!(__artiq_personality = exception_unimplemented),
api!(__artiq_raise = exception_unimplemented),