aboutsummaryrefslogtreecommitdiffstats
path: root/coroutine/x86
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-05-16 18:58:17 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-05-16 21:58:42 +0900
commite0f0ab959e9a0fa3db8dfdb2a493b057d6e7541b (patch)
tree2fb809fb1db5ef99ca180aebebd6b770312143b4 /coroutine/x86
parent0ed9bdfc13082b6d19712738ca69fbbe2a36f106 (diff)
downloadruby-e0f0ab959e9a0fa3db8dfdb2a493b057d6e7541b.tar.gz
Remove unused symbols
Diffstat (limited to 'coroutine/x86')
-rw-r--r--coroutine/x86/Context.S11
1 files changed, 5 insertions, 6 deletions
diff --git a/coroutine/x86/Context.S b/coroutine/x86/Context.S
index d6a0a2def7..001b699a30 100644
--- a/coroutine/x86/Context.S
+++ b/coroutine/x86/Context.S
@@ -5,14 +5,13 @@
## Copyright, 2018, by Samuel Williams. All rights reserved.
##
-.text
+#define TOKEN_PASTE(x,y) x##y
+#define PREFIXED_SYMBOL(prefix,name) TOKEN_PASTE(prefix,name)
-.globl coroutine_transfer
-coroutine_transfer:
+.text
-# For older linkers
-.globl _coroutine_transfer
-_coroutine_transfer:
+.globl PREFIXED_SYMBOL(SYMBOL_PREFIX,coroutine_transfer)
+PREFIXED_SYMBOL(SYMBOL_PREFIX,coroutine_transfer):
# Save caller registers
pushl %ebp