From df58e6aa775328fefd52bc54b3229d66eae2755a Mon Sep 17 00:00:00 2001 From: root Date: Mon, 30 May 2011 02:46:52 +0000 Subject: *** empty log message *** --- coro.c | 4 ++-- coro.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/coro.c b/coro.c index 3c157c8..39774e1 100644 --- a/coro.c +++ b/coro.c @@ -88,8 +88,8 @@ coro_init (void) coro_transfer (new_coro, create_coro); -#ifdef __linux && __elf - /* we blindly assume on any __linux with __elf we have a new enough gas with .cfi_undefined support */ +#if __linux && __amd64 + /* we blindly assume on any __linux with __amd64 we have a new enough gas with .cfi_undefined support */ asm (".cfi_undefined rip"); #endif diff --git a/coro.h b/coro.h index 2f80ee6..399ed1f 100644 --- a/coro.h +++ b/coro.h @@ -71,7 +71,7 @@ * 2009-06-23 tentative win32-backend support for mingw32 (Yasuhiro Matsumoto). * 2010-12-03 tentative support for uclibc (which lacks all sorts of things). * 2011-05-30 set initial callee-saved-registers to zero with CORO_ASM. - * use .cfi_undefined rip on linux-elf for better backtraces. + * use .cfi_undefined rip on linux-amd64 for better backtraces. */ #ifndef CORO_H -- cgit v1.2.3