+2001-06-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
+
+ * unwind-pe.h: Conditionally qualify references to abort with
+ std::.
+
2001-06-09 Julian Foad <julian_foad@hotmail.com>
* doc/invoke.texi: Remove superfluous text.
compatibility problems with the base ABI. This is slightly better
than duplicating code, however. */
+/* If using C++, references to abort have to be qualified with std::. */
+#if __cplusplus
+#define __gxx_abort std::abort
+#else
+#define __gxx_abort abort
+#endif
+
/* Pointer encodings, from dwarf2.h. */
#define DW_EH_PE_absptr 0x00
#define DW_EH_PE_omit 0xff
case DW_EH_PE_udata8:
return 8;
}
- abort ();
+ __gxx_abort ();
}
/* Given an encoding and an _Unwind_Context, return the base to which
case DW_EH_PE_funcrel:
return _Unwind_GetRegionStart (context);
}
- abort ();
+ __gxx_abort ();
}
/* Load an encoded value from memory at P. The value is returned in VAL;
break;
default:
- abort ();
+ __gxx_abort ();
}
if (result != 0)