Add ARM-specific static-stubs.c.
authorJoseph Myers <joseph@codesourcery.com>
Thu, 5 Jul 2012 22:16:03 +0000 (22:16 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Thu, 5 Jul 2012 22:16:03 +0000 (22:16 +0000)
ports/ChangeLog.arm
ports/sysdeps/arm/static-stubs.c [new file with mode: 0644]

index 71e8b1b..8cd383d 100644 (file)
@@ -1,3 +1,7 @@
+2012-07-05  Joseph Myers  <joseph@codesourcery.com>
+
+       * sysdeps/arm/static-stubs.c: New file.
+
 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
 
        * sysdeps/arm/Makefile (gnulib-arch): New variable.
diff --git a/ports/sysdeps/arm/static-stubs.c b/ports/sysdeps/arm/static-stubs.c
new file mode 100644 (file)
index 0000000..d90d603
--- /dev/null
@@ -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>