diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-12-06 17:30:09 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-12-06 17:30:09 +0000 |
commit | d721838658d4ee24af66c16dd8c42911b7cfd523 (patch) | |
tree | 162b52c52d38926a3c79abd2120a112646a32acc /gcc/frame.h | |
parent | 068b87b11d9511d72cd9baea5e3d2d002b1d8061 (diff) |
import of gcc-2.8
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc3@16983 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/frame.h')
-rw-r--r-- | gcc/frame.h | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/gcc/frame.h b/gcc/frame.h index 3b380536884..c1cc7028c2d 100644 --- a/gcc/frame.h +++ b/gcc/frame.h @@ -18,10 +18,26 @@ typedef struct frame_state #define REG_SAVED_OFFSET 1 #define REG_SAVED_REG 2 +/* The representation for an "object" to be searched for frame unwind info. + For targets with named sections, one object is an executable or shared + library; for other targets, one object is one translation unit. + + A copy of this structure declaration is printed by collect2.c; + keep the copies synchronized! */ + +struct object { + void *pc_begin; + void *pc_end; + struct dwarf_fde *fde_begin; + struct dwarf_fde **fde_array; + size_t count; + struct object *next; +}; + /* Called either from crtbegin.o or a static constructor to register the unwind info for an object or translation unit, respectively. */ -extern void __register_frame (void *); +extern void __register_frame (void *, struct object *); /* Called from crtend.o to deregister the unwind info for an object. */ |