summaryrefslogtreecommitdiffstats
path: root/gcc/eh-common.h
diff options
context:
space:
mode:
authoramacleod <amacleod@138bc75d-0d04-0410-961f-82ee72b054a4>1998-06-17 13:05:54 +0000
committeramacleod <amacleod@138bc75d-0d04-0410-961f-82ee72b054a4>1998-06-17 13:05:54 +0000
commitd945b22b8d5bb462f49562a6fec2202b44cbcfde (patch)
tree22bc8784a037d4b0cfa19fb8c9ca1a0567bf8d46 /gcc/eh-common.h
parent4c55d5ef205f46e2f89478269ab90427ddbf691c (diff)
downloadppe42-gcc-d945b22b8d5bb462f49562a6fec2202b44cbcfde.tar.gz
ppe42-gcc-d945b22b8d5bb462f49562a6fec2202b44cbcfde.zip
* eh-common.h (struct eh_context): Add comment for hidden use of
field dynamic_handler_chain. * except.c (get_dynamic_handler_chain): Comment on, and use the correct offset of the dynamic_handler_chain field. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20540 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/eh-common.h')
-rw-r--r--gcc/eh-common.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/eh-common.h b/gcc/eh-common.h
index 51ecf31470e..c16d66a5008 100644
--- a/gcc/eh-common.h
+++ b/gcc/eh-common.h
@@ -20,7 +20,10 @@
/* The handler_label field MUST be the first field in this structure. The
__throw() library routine expects uses __eh_stub() from except.c, which
- simply dereferences the context pointer to get the handler */
+ simply dereferences the context pointer to get the handler.
+ The routine get_dynamic_handler_chain() also has a dependancy on
+ the location of 'dynamic_handler_chain'. If its location is changed,
+ that routine must be modified as well. */
struct eh_context
{
OpenPOWER on IntegriCloud