about summary refs log tree commit diff
path: root/sysdeps/arm/static-stubs.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/arm/static-stubs.c')
-rw-r--r--sysdeps/arm/static-stubs.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sysdeps/arm/static-stubs.c b/sysdeps/arm/static-stubs.c
new file mode 100644
index 0000000000..d90d603a95
--- /dev/null
+++ b/sysdeps/arm/static-stubs.c
@@ -0,0 +1,7 @@
+/* When building with GCC with static-only libgcc, the dummy
+   _Unwind_Resume from static-stubs.c needs to be used together with
+   the dummy __aeabi_unwind_cpp_pr* from aeabi_unwind_cpp_pr1.c
+   instead of the copies from libgcc.  */
+
+#include <elf/static-stubs.c>
+#include <aeabi_unwind_cpp_pr1.c>