about summary refs log tree commit diff
path: root/ports/sysdeps/arm
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-07-05 22:16:03 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-07-05 22:16:03 +0000
commitc57a67e03368687fc0d2ae8354cd1b347a61ea44 (patch)
tree3c1a6457ebaefa213ee9fb0ebd86e018754f9343 /ports/sysdeps/arm
parentcdfe2c5eb3703ed964cbfdb6906b21ace2956385 (diff)
downloadglibc-c57a67e03368687fc0d2ae8354cd1b347a61ea44.tar.gz
glibc-c57a67e03368687fc0d2ae8354cd1b347a61ea44.tar.xz
glibc-c57a67e03368687fc0d2ae8354cd1b347a61ea44.zip
Add ARM-specific static-stubs.c.
Diffstat (limited to 'ports/sysdeps/arm')
-rw-r--r--ports/sysdeps/arm/static-stubs.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/ports/sysdeps/arm/static-stubs.c b/ports/sysdeps/arm/static-stubs.c
new file mode 100644
index 0000000000..d90d603a95
--- /dev/null
+++ b/ports/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>