… | |
… | |
86 | volatile coro_func func = coro_init_func; |
86 | volatile coro_func func = coro_init_func; |
87 | volatile void *arg = coro_init_arg; |
87 | volatile void *arg = coro_init_arg; |
88 | |
88 | |
89 | coro_transfer (new_coro, create_coro); |
89 | coro_transfer (new_coro, create_coro); |
90 | |
90 | |
91 | #ifdef __linux && __elf |
91 | #if __linux && __amd64 |
92 | /* we blindly assume on any __linux with __elf we have a new enough gas with .cfi_undefined support */ |
92 | /* we blindly assume on any __linux with __amd64 we have a new enough gas with .cfi_undefined support */ |
93 | asm (".cfi_undefined rip"); |
93 | asm (".cfi_undefined rip"); |
94 | #endif |
94 | #endif |
95 | |
95 | |
96 | func ((void *)arg); |
96 | func ((void *)arg); |
97 | |
97 | |