summaryrefslogtreecommitdiff
path: root/gcc/ada/raise-gcc.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2010-10-13 18:57:31 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2010-10-13 18:57:31 +0000
commit382597e4e1587e7de04f81ba9903811a8a93d640 (patch)
tree3c1d073f5371ed3d1591b0a5f61b529b6c5b86af /gcc/ada/raise-gcc.c
parentdc9e4762207f5086d6dabe37bea7c45119a85ea4 (diff)
downloadgcc-382597e4e1587e7de04f81ba9903811a8a93d640.tar.gz
Centralize knowledge of eh personality routines.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165433 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/raise-gcc.c')
-rw-r--r--gcc/ada/raise-gcc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/ada/raise-gcc.c b/gcc/ada/raise-gcc.c
index 3589bc5dfd1..512ff368e39 100644
--- a/gcc/ada/raise-gcc.c
+++ b/gcc/ada/raise-gcc.c
@@ -407,7 +407,7 @@ db_phases (int phases)
===================================
The major point of this unit is to provide an exception propagation
- personality routine for Ada. This is __gnat_eh_personality.
+ personality routine for Ada. This is __gnat_personality_v0.
It is provided with a pointer to the propagated exception, an unwind
context describing a location the propagation is going through, and a
@@ -440,7 +440,7 @@ db_phases (int phases)
|
| (Ada frame)
|
- +--> __gnat_eh_personality (context, exception)
+ +--> __gnat_personality_v0 (context, exception)
|
+--> get_region_descriptor_for (context)
|
@@ -1028,9 +1028,9 @@ extern void __gnat_notify_unhandled_exception (void);
GNU-Ada exceptions are met. */
#ifdef __USING_SJLJ_EXCEPTIONS__
-#define PERSONALITY_FUNCTION __gnat_eh_personality_sj
+#define PERSONALITY_FUNCTION __gnat_personality_sj0
#else
-#define PERSONALITY_FUNCTION __gnat_eh_personality
+#define PERSONALITY_FUNCTION __gnat_personality_v0
#endif
/* Major tweak for ia64-vms : the CHF propagation phase calls this personality