From ed699927c14e407cf3c2693c91bcf7d3219c3c32 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 10 Nov 2008 04:37:23 +0000 Subject: 4.91 --- coro.c | 12 ------------ coro.h | 1 + 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/coro.c b/coro.c index 722e33c..5c410e8 100644 --- a/coro.c +++ b/coro.c @@ -80,12 +80,6 @@ static coro_func coro_init_func; static void *coro_init_arg; static coro_context *new_coro, *create_coro; -/* what we really want to detect here is wether we use a new-enough version of GAS */ -/* with dwarf debug info. instead, check for gcc 3, ELF and GNU/Linux and hope for the best */ -# if __GNUC__ >= 3 && __ELF__ && __linux__ -# define HAVE_CFI 1 -# endif - static void coro_init (void) { @@ -115,13 +109,7 @@ trampoline (int sig) sigsetjmp (new_coro->env, 0) #endif ) { - #if HAVE_CFI - asm (".cfi_startproc"); - #endif coro_init (); /* start it */ - #if HAVE_CFI - asm (".cfi_endproc"); - #endif } else trampoline_done = 1; diff --git a/coro.h b/coro.h index 79b8e1e..b03c159 100644 --- a/coro.h +++ b/coro.h @@ -65,6 +65,7 @@ * do not rely on makecontext passing a void * correctly. * try harder to get _setjmp/_longjmp. * major code cleanup/restructuring. + * 2008-11-10 the .cfi hacks are no longer needed. */ #ifndef CORO_H -- cgit v1.2.3