summaryrefslogtreecommitdiff
path: root/gcc/crtstuff.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1997-12-15 07:05:04 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1997-12-15 07:05:04 +0000
commitc4fa4c4d9fccf5c27b3607881dc2c8b6bd4f00e7 (patch)
treefff0335d1435c9b6e70f06bebdd1a98b6cfd22bc /gcc/crtstuff.c
parent68a99e8a6d757691f24b0cc2f8dcc34d5ad3b723 (diff)
downloadgcc-c4fa4c4d9fccf5c27b3607881dc2c8b6bd4f00e7.tar.gz
Bring over changes from latest gcc-2.8 pre-release.
Mirror sched.c change into haifa-sched.c git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17097 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/crtstuff.c')
-rw-r--r--gcc/crtstuff.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/crtstuff.c b/gcc/crtstuff.c
index 50964a80050..3f3643f6b8d 100644
--- a/gcc/crtstuff.c
+++ b/gcc/crtstuff.c
@@ -142,7 +142,7 @@ __do_global_dtors_aux ()
}
#ifdef EH_FRAME_SECTION_ASM_OP
- __deregister_frame (__EH_FRAME_BEGIN__);
+ __deregister_frame_info (__EH_FRAME_BEGIN__);
#endif
completed = 1;
}
@@ -162,15 +162,15 @@ fini_dummy ()
}
#ifdef EH_FRAME_SECTION_ASM_OP
-/* Stick a call to __register_frame into the .init section. For some reason
- calls with no arguments work more reliably in .init, so stick the call
- in another function. */
+/* Stick a call to __register_frame_info into the .init section. For some
+ reason calls with no arguments work more reliably in .init, so stick the
+ call in another function. */
static void
frame_dummy ()
{
static struct object object;
- __register_frame (__EH_FRAME_BEGIN__, &object);
+ __register_frame_info (__EH_FRAME_BEGIN__, &object);
}
static void
@@ -254,7 +254,7 @@ __do_global_dtors ()
(*p) ();
#ifdef EH_FRAME_SECTION_ASM_OP
- __deregister_frame (__EH_FRAME_BEGIN__);
+ __deregister_frame_info (__EH_FRAME_BEGIN__);
#endif
}
#endif
@@ -395,7 +395,7 @@ __do_global_ctors ()
func_ptr *p;
#ifdef EH_FRAME_SECTION_ASM_OP
static struct object object;
- __register_frame (__EH_FRAME_BEGIN__, &object);
+ __register_frame_info (__EH_FRAME_BEGIN__, &object);
#endif
for (p = __CTOR_END__ - 1; *p != (func_ptr) -1; p--)
(*p) ();