Skip to content

Commit

Permalink
syscalls: Provide nop stubs to avoid libgcc unwinder
Browse files Browse the repository at this point in the history
  • Loading branch information
ALTracer committed Jul 22, 2024
1 parent d94b0e6 commit a782c6d
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/platforms/common/syscalls.c
Original file line number Diff line number Diff line change
Expand Up @@ -186,3 +186,16 @@ __attribute__((used)) void *_sbrk(const ptrdiff_t alloc_size)
heap_current += alloc_size;
return result;
}

/* ARM EABI Personality functions for newlib-4.3.0 */
__attribute__((weak)) void __aeabi_unwind_cpp_pr0()
{
}

__attribute__((weak)) void __aeabi_unwind_cpp_pr1()
{
}

__attribute__((weak)) void __aeabi_unwind_cpp_pr2()
{
}

0 comments on commit a782c6d

Please sign in to comment.