|
From: <sv...@va...> - 2010-06-13 13:46:33
|
Author: bart
Date: 2010-06-13 14:46:24 +0100 (Sun, 13 Jun 2010)
New Revision: 11172
Log:
Made the abort() function available on PPC too.
Modified:
trunk/coregrind/m_main.c
Modified: trunk/coregrind/m_main.c
===================================================================
--- trunk/coregrind/m_main.c 2010-06-10 15:01:02 UTC (rev 11171)
+++ trunk/coregrind/m_main.c 2010-06-13 13:46:24 UTC (rev 11172)
@@ -2668,6 +2668,13 @@
return VG_(memset)(s,c,n);
}
+/* BVA: abort() for those platforms that need it (PPC and ARM). */
+void abort(void);
+void abort(void){
+ VG_(printf)("Something called raise().\n");
+ vg_assert(0);
+}
+
/* EAZG: ARM's EABI will call floating point exception handlers in
libgcc which boil down to an abort or raise, that's usually defined
in libc. Instead, define them here. */
@@ -2678,12 +2685,6 @@
vg_assert(0);
}
-void abort(void);
-void abort(void){
- VG_(printf)("Something called raise().\n");
- vg_assert(0);
-}
-
void __aeabi_unwind_cpp_pr0(void);
void __aeabi_unwind_cpp_pr0(void){
VG_(printf)("Something called __aeabi_unwind_cpp_pr0()\n");
|