Created
February 7, 2016 00:34
-
-
Save chris-se/f45b1fadd36c73dbea9c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: x86_64/__testandset.S | |
=================================================================== | |
RCS file: /cvs/dietlibc/x86_64/__testandset.S,v | |
retrieving revision 1.3 | |
diff -u -p -r1.3 __testandset.S | |
--- x86_64/__testandset.S 25 Jan 2016 19:04:48 -0000 1.3 | |
+++ x86_64/__testandset.S 7 Feb 2016 00:31:29 -0000 | |
@@ -9,7 +9,5 @@ | |
__testandset: | |
xorl %eax,%eax | |
incl %eax | |
- xchg %rax,(%rdi) | |
+ xchg %eax,(%rdi) | |
ret | |
- | |
-link_warning("__testandset", "warning: __testandset() was never tested!") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment