summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root>2011-05-30 02:46:52 +0000
committerroot <root>2011-05-30 02:46:52 +0000
commitdf58e6aa775328fefd52bc54b3229d66eae2755a (patch)
tree3a6d559b4fc2f5fad722601845d186fe7ed901f3
parent5ebaff033d86feaa7ef3df94e8f72259e0340c80 (diff)
*** empty log message ***
-rw-r--r--coro.c4
-rw-r--r--coro.h2
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