summaryrefslogtreecommitdiff
path: root/coro.c
diff options
context:
space:
mode:
authorroot <root>2008-11-10 04:37:23 +0000
committerroot <root>2008-11-10 04:37:23 +0000
commited699927c14e407cf3c2693c91bcf7d3219c3c32 (patch)
treefcf68214a6f0fec335e76e34f4eca39d62b0a653 /coro.c
parent35eb28c235d68635df330460f28eb85ea41ecc56 (diff)
Diffstat (limited to 'coro.c')
-rw-r--r--coro.c12
1 files changed, 0 insertions, 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;