[inferno-npe] push by mechiel@ueber.net - correct .globl __xadd, from c-keen. on 2010-02-01 15:22 GMT

0 views
Skip to first unread message

infer...@googlecode.com

unread,
Feb 1, 2010, 10:22:54 AM2/1/10
to inferno-n...@googlegroups.com
Revision: bcf590c7c4
Author: Mechiel Lukkien <mec...@ueber.net>
Date: Mon Feb 1 07:22:09 2010
Log: correct .globl __xadd, from c-keen.
http://code.google.com/p/inferno-npe/source/detail?r=bcf590c7c4

Modified:
/emu/MacOSX/asm-386.s

=======================================
--- /emu/MacOSX/asm-386.s Fri Jan 15 06:06:15 2010
+++ /emu/MacOSX/asm-386.s Mon Feb 1 07:22:09 2010
@@ -27,10 +27,9 @@
xchgl %eax, 0(%ecx)
ret

- .globl _xadd
+ .globl __xadd
__xadd:
- movl 8(%esp), %eax
- movl 4(%esp), %ecx
- lock xaddl %eax, 0(%ecx)
- ret
-
+ movl 8(%esp), %eax
+ movl 4(%esp), %ecx
+ lock xaddl %eax, 0(%ecx)
+ ret

Reply all
Reply to author
Forward
0 new messages