aboutsummaryrefslogtreecommitdiff
path: root/ports
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
parentcdfe2c5eb3703ed964cbfdb6906b21ace2956385 (diff)
downloadglibc-c57a67e03368687fc0d2ae8354cd1b347a61ea44.zip
glibc-c57a67e03368687fc0d2ae8354cd1b347a61ea44.tar.gz
glibc-c57a67e03368687fc0d2ae8354cd1b347a61ea44.tar.bz2
Add ARM-specific static-stubs.c.
Diffstat (limited to 'ports')
-rw-r--r--ports/ChangeLog.arm4
-rw-r--r--ports/sysdeps/arm/static-stubs.c7
2 files changed, 11 insertions, 0 deletions
diff --git a/ports/ChangeLog.arm b/ports/ChangeLog.arm
index 71e8b1b..8cd383d 100644
--- a/ports/ChangeLog.arm
+++ b/ports/ChangeLog.arm
@@ -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
index 0000000..d90d603
--- /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>