aboutsummaryrefslogtreecommitdiff
path: root/gcc/ginclude/unwind-arm-common.h
diff options
context:
space:
mode:
authorAndreas Tobler <andreast@gcc.gnu.org>2015-01-09 15:06:02 +0100
committerAndreas Tobler <andreast@gcc.gnu.org>2015-01-09 15:06:02 +0100
commit82a19768cb55aa06dc6aac858012cf40125a3d9f (patch)
treeb3576f34396e29e95fbfc0175227cf0b88999832 /gcc/ginclude/unwind-arm-common.h
parent887974fda22e2040ad8956488aa738b0bb9ad728 (diff)
downloadgcc-82a19768cb55aa06dc6aac858012cf40125a3d9f.zip
gcc-82a19768cb55aa06dc6aac858012cf40125a3d9f.tar.gz
gcc-82a19768cb55aa06dc6aac858012cf40125a3d9f.tar.bz2
configure.ac: Don't add ${libgcj} for arm*-*-freebsd*.
toplevel: * configure.ac: Don't add ${libgcj} for arm*-*-freebsd*. * configure: Regenerate. gcc: * config.gcc (arm*-*-freebsd*): New configuration. * config/arm/freebsd.h: New file. * config.host: Add extra components for arm*-*-freebsd*. * config/arm/arm.h: Introduce MAX_SYNC_LIBFUNC_SIZE. * config/arm/arm.c (arm_init_libfuncs): Use MAX_SYNC_LIBFUNC_SIZE. libgcc: * config.host (arm*-*-freebsd*): Add new configuration for arm*-*-freebsd*. * config/arm/freebsd-atomic.c: New file. * config/arm/t-freebsd: Likewise. * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of 'PC-relative indirect' OS's. libatomic: * configure.tgt: Exclude arm*-*-freebsd* from try_ifunc. libstdc++-v3: * configure.host: Add arm*-*-freebsd* port_specific_symbol_files. From-SVN: r219388
Diffstat (limited to 'gcc/ginclude/unwind-arm-common.h')
-rw-r--r--gcc/ginclude/unwind-arm-common.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ginclude/unwind-arm-common.h b/gcc/ginclude/unwind-arm-common.h
index 833786f..52118c7 100644
--- a/gcc/ginclude/unwind-arm-common.h
+++ b/gcc/ginclude/unwind-arm-common.h
@@ -82,7 +82,11 @@ extern "C" {
struct _Unwind_Control_Block
{
+#ifdef __FreeBSD__
+ unsigned exception_class __attribute__((__mode__(__DI__)));
+#else
char exception_class[8];
+#endif
void (*exception_cleanup)(_Unwind_Reason_Code, _Unwind_Control_Block *);
/* Unwinder cache, private fields for the unwinder's use */
struct
@@ -181,7 +185,11 @@ extern "C" {
/* Support functions for the PR. */
#define _Unwind_Exception _Unwind_Control_Block
+#ifdef __FreeBSD__
+ typedef unsigned _Unwind_Exception_Class __attribute__((__mode__(__DI__)));
+#else
typedef char _Unwind_Exception_Class[8];
+#endif
void * _Unwind_GetLanguageSpecificData (_Unwind_Context *);
_Unwind_Ptr _Unwind_GetRegionStart (_Unwind_Context *);