Author: andrew
Date: Sat Mar 16 03:50:27 2013
New Revision: 248364
URL: http://svnweb.freebsd.org/changeset/base/248364

Log:
  Implement the required but unused __aeabi_unwind_cpp_* functions in the
  trampoline kernel.

Modified:
  head/sys/arm/arm/elf_trampoline.c

Modified: head/sys/arm/arm/elf_trampoline.c
==============================================================================
--- head/sys/arm/arm/elf_trampoline.c   Sat Mar 16 03:21:25 2013        
(r248363)
+++ head/sys/arm/arm/elf_trampoline.c   Sat Mar 16 03:50:27 2013        
(r248364)
@@ -701,3 +701,18 @@ __start(void)
        do_call(dst, kernel, dst + (unsigned int)(&func_end) -
            (unsigned int)(&load_kernel) + 800, sp);
 }
+
+#ifdef __ARM_EABI__
+/* We need to provide these functions but never call them */
+void __aeabi_unwind_cpp_pr0(void);
+void __aeabi_unwind_cpp_pr1(void);
+void __aeabi_unwind_cpp_pr2(void);
+
+__strong_reference(__aeabi_unwind_cpp_pr0, __aeabi_unwind_cpp_pr1);
+__strong_reference(__aeabi_unwind_cpp_pr0, __aeabi_unwind_cpp_pr2);
+void
+__aeabi_unwind_cpp_pr0(void)
+{
+}
+#endif
+
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to