summaryrefslogtreecommitdiffstats
path: root/boehm-gc/os_dep.c
diff options
context:
space:
mode:
authorhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>2005-04-19 16:01:38 +0000
committerhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>2005-04-19 16:01:38 +0000
commit3f40ca2f8575e0d721b22f639206ecd3d904a440 (patch)
tree045f7a91a4f24434c2a5434be785d111b787706f /boehm-gc/os_dep.c
parentb6dec3a4fbe289abaf76f504f254b63f29b72ef7 (diff)
downloadppe42-gcc-3f40ca2f8575e0d721b22f639206ecd3d904a440.tar.gz
ppe42-gcc-3f40ca2f8575e0d721b22f639206ecd3d904a440.zip
* os_dep.c, include/private/gc_locks.h: Import CRIS port by
Simon Posnjak from gc6.4. * include/private/gcconfig.h: Ditto. Add M32R note from gc6.4. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98414 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'boehm-gc/os_dep.c')
-rw-r--r--boehm-gc/os_dep.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/boehm-gc/os_dep.c b/boehm-gc/os_dep.c
index 30c2b8bc4ab..c4775c1978b 100644
--- a/boehm-gc/os_dep.c
+++ b/boehm-gc/os_dep.c
@@ -2519,7 +2519,11 @@ SIG_PF GC_old_segv_handler; /* Also old MSWIN32 ACCESS_VIOLATION filter */
# if defined(ARM32)
char * addr = (char *)sc.fault_address;
# else
- --> architecture not supported
+# if defined(CRIS)
+ char * addr = (char *)sc.regs.csraddr;
+# else
+ --> architecture not supported
+# endif
# endif
# endif
# endif
OpenPOWER on IntegriCloud