aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2010-01-26 19:38:05 +0000
committerUlrich Müller <ulm@gentoo.org>2010-01-26 19:38:05 +0000
commit57eaf8d23f647959ab24bc9cc8869fea75ca231f (patch)
tree91223eff67c684dabb50c3abc0d294847867a556
parentCombine related patches for bugs 292007 and 292492 into one. (diff)
downloademacs-patches-57eaf8d23f647959ab24bc9cc8869fea75ca231f.tar.gz
emacs-patches-57eaf8d23f647959ab24bc9cc8869fea75ca231f.tar.bz2
emacs-patches-57eaf8d23f647959ab24bc9cc8869fea75ca231f.zip
Add patch for bug 302357.emacs-23.1-patches-4
-rw-r--r--emacs/23.1/04_arm_nostdlib-unwind.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/emacs/23.1/04_arm_nostdlib-unwind.patch b/emacs/23.1/04_arm_nostdlib-unwind.patch
new file mode 100644
index 0000000..a90c450
--- /dev/null
+++ b/emacs/23.1/04_arm_nostdlib-unwind.patch
@@ -0,0 +1,16 @@
+http://bugs.gentoo.org/302357
+http://gnutoo.homelinux.org/open_embedded/recipes/emacs/files/nostdlib-unwind.patch
+Fix linking problem:
+undefined reference to `__aeabi_unwind_cpp_pr0'
+
+--- emacs-23.1-orig/src/Makefile.in
++++ emacs-23.1/src/Makefile.in
+@@ -443,7 +443,7 @@
+ ask GCC explicitly where to find libgcc.a. */
+
+ #ifndef LINKER
+-#define LINKER $(CC) -nostdlib
++#define LINKER $(CC) -nostdlib -lgcc_s
+ #endif
+
+ #ifndef LIB_GCC