diff options
-rw-r--r-- | coro.c | 4 | ||||
-rw-r--r-- | coro.h | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -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 @@ -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 |