diff options
author | Nobuyoshi Nakada <[email protected]> | 2024-10-08 16:12:10 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2024-10-08 23:29:49 +0900 |
commit | 1f39184bc7e564eefc9c6e09e038e20e112bef20 (patch) | |
tree | 18b4296223b8ac856b4363cf901e5f0211c18f0d /coroutine/riscv64 | |
parent | 49ccc31d906d26f980dcedf1197a2e18245ec50e (diff) |
Substitute `coroutine_transfer` with prefixed symbol in Makefile
```
coroutine/arm64/Context.S:31:57: error: invoking macro TOKEN_PASTE argument 1: empty macro arguments are undefined in ISO C90 [-Wpedantic]
31 | .global PREFIXED_SYMBOL(SYMBOL_PREFIX,coroutine_transfer)
| ^
```
Diffstat (limited to 'coroutine/riscv64')
-rw-r--r-- | coroutine/riscv64/Context.S | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/coroutine/riscv64/Context.S b/coroutine/riscv64/Context.S index cc4e872f84..8e7fc74ffc 100644 --- a/coroutine/riscv64/Context.S +++ b/coroutine/riscv64/Context.S @@ -1,11 +1,10 @@ #define TOKEN_PASTE(x,y) x##y -#define PREFIXED_SYMBOL(prefix,name) TOKEN_PASTE(prefix,name) .text .align 2 -.global PREFIXED_SYMBOL(SYMBOL_PREFIX,coroutine_transfer) -PREFIXED_SYMBOL(SYMBOL_PREFIX,coroutine_transfer): +.global PREFIXED_SYMBOL(coroutine_transfer) +PREFIXED_SYMBOL(coroutine_transfer): # Make space on the stack for caller registers addi sp, sp, -0xd0 |