ref: ad1ba29748a69e0ba936e889ccf487765f416c52
parent: de1fd7052689a4c1e311eb0f0b293aecfd564896
author: Ori Bernstein <[email protected]>
date: Fri Oct 12 06:33:35 EDT 2012
Add OSX style symbol names to util.s It works the same, we just need an '_' in front of the function name.
--- a/libstd/util.s
+++ b/libstd/util.s
@@ -9,7 +9,8 @@
* %rsp when returning.
*/
.globl std$cstring
-std$cstring:
+.globl _std$cstring
+_std$cstring:
movq (%rsp),%r15 /* ret addr */
movq 8(%rsp),%rsi /* src */
movq %rsp,%rdi /* dest */