diff options
Diffstat (limited to 'coroutine/amd64/Context.S')
-rw-r--r-- | coroutine/amd64/Context.S | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/coroutine/amd64/Context.S b/coroutine/amd64/Context.S index 6193993e03..42fe79c164 100644 --- a/coroutine/amd64/Context.S +++ b/coroutine/amd64/Context.S @@ -5,14 +5,14 @@ ## Copyright, 2018, by Samuel Williams. All rights reserved. ## +#define TOKEN_PASTE(x,y) x##y +#define PREFIXED_SYMBOL(prefix,name) TOKEN_PASTE(prefix,name) + .text -# For older linkers -.globl _coroutine_transfer -_coroutine_transfer: +.globl PREFIXED_SYMBOL(SYMBOL_PREFIX,coroutine_transfer) +PREFIXED_SYMBOL(SYMBOL_PREFIX,coroutine_transfer): -.globl coroutine_transfer -coroutine_transfer: # Save caller state pushq %rbp pushq %rbx |