summaryrefslogtreecommitdiff
path: root/gcc/crtstuff.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1997-12-08 01:42:52 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1997-12-08 01:42:52 +0000
commit68b88e8694ece9d7c01e416f3586d3e72157d6ea (patch)
treedd22e385b3dae9a0e496ba4cc1c0886e5b4296f9 /gcc/crtstuff.c
parentc85d081f3b59c15fa70f349bdc57309e70d3b9cf (diff)
downloadgcc-68b88e8694ece9d7c01e416f3586d3e72157d6ea.tar.gz
Updates from gcc-2.8 test tarball to current gcc-2.8 tarball.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17002 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/crtstuff.c')
-rw-r--r--gcc/crtstuff.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/crtstuff.c b/gcc/crtstuff.c
index bccf51d174e..c0d06494e4f 100644
--- a/gcc/crtstuff.c
+++ b/gcc/crtstuff.c
@@ -394,7 +394,8 @@ __do_global_ctors ()
{
func_ptr *p;
#ifdef EH_FRAME_SECTION_ASM_OP
- __register_frame (__EH_FRAME_BEGIN__);
+ static struct oobject object;
+ __register_frame (__EH_FRAME_BEGIN__, &object);
#endif
for (p = __CTOR_END__ - 1; *p != (func_ptr) -1; p--)
(*p) ();