diff options
author | root <root> | 2011-07-03 10:51:42 +0000 |
---|---|---|
committer | root <root> | 2011-07-03 10:51:42 +0000 |
commit | f3c8c7a09a526eb36fcbfcb70728c14e4ea2e46b (patch) | |
tree | 6bbf9ac9542f7f682e4324014b25b831e000debb | |
parent | fd8d33edb517daa60a65724494b9ce8a6226f89a (diff) |
6.01rel-6_05
-rw-r--r-- | coro.c | 3 | ||||
-rw-r--r-- | coro.h | 1 |
2 files changed, 2 insertions, 2 deletions
@@ -88,8 +88,7 @@ coro_init (void) coro_transfer (new_coro, create_coro); -#if __linux && __amd64 - /* we blindly assume on any __linux with __amd64 we have a new enough gas with .cfi_undefined support */ +#if __GCC_HAVE_DWARF2_CFI_ASM && __amd64 asm (".cfi_undefined rip"); #endif @@ -73,6 +73,7 @@ * 2011-05-30 set initial callee-saved-registers to zero with CORO_ASM. * use .cfi_undefined rip on linux-amd64 for better backtraces. * 2011-06-08 maybe properly implement weird windows amd64 calling conventions. + * 2011-07-03 rely on __GCC_HAVE_DWARF2_CFI_ASM for cfi detection. */ #ifndef CORO_H |