aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2004-05-25 03:21:34 +0000
committerChristopher Faylor <me@cgf.cx>2004-05-25 03:21:34 +0000
commit41bba72eb45016d5c6d4a2d95653e0eb6bf4eeed (patch)
tree3317a3116a32cabb155ff0b8018ca69e59bc5f81
parentc7e7ccbe93db9a972c90f578f4e23ad295b34e86 (diff)
downloadnewlib-41bba72eb45016d5c6d4a2d95653e0eb6bf4eeed.zip
newlib-41bba72eb45016d5c6d4a2d95653e0eb6bf4eeed.tar.gz
newlib-41bba72eb45016d5c6d4a2d95653e0eb6bf4eeed.tar.bz2
* include/cygwin/version.h: Bump api minor version number.
* cygwin.din: Export atoll.
-rw-r--r--winsup/cygwin/ChangeLog8
-rw-r--r--winsup/cygwin/cygwin.din1
-rw-r--r--winsup/cygwin/include/cygwin/version.h3
-rw-r--r--winsup/cygwin/winbase.h4
4 files changed, 13 insertions, 3 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 8a763f9..0b38685 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,11 @@
+2004-05-24 Christopher Faylor <cgf@alum.bu.edu>
+
+ * include/cygwin/version.h: Bump api minor version number.
+
+2004-05-24 Christopher Faylor <cgf@alum.bu.edu>
+
+ * cygwin.din: Export atoll.
+
2004-05-20 Christopher Faylor <cgf@alum.bu.edu>
* tty.cc (tty_list::allocate_tty): Leave tty_mutex armed on successful
diff --git a/winsup/cygwin/cygwin.din b/winsup/cygwin/cygwin.din
index f319062..a849f41 100644
--- a/winsup/cygwin/cygwin.din
+++ b/winsup/cygwin/cygwin.din
@@ -208,6 +208,7 @@ atoi NOSIGFE
_atoi = atoi NOSIGFE
atol NOSIGFE
_atol = atol NOSIGFE
+atoll NOSIGFE
bcmp NOSIGFE
_bcmp = bcmp NOSIGFE
bcopy NOSIGFE
diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h
index cc66960..d171f40 100644
--- a/winsup/cygwin/include/cygwin/version.h
+++ b/winsup/cygwin/include/cygwin/version.h
@@ -243,12 +243,13 @@ details. */
114: Export rand_r, ttyname_r.
115: Export flockfile, ftrylockfile, funlockfile, getgrgid_r, getgrnam_r,
getlogin_r.
+ 116: Export atoll.
*/
/* Note that we forgot to bump the api for ualarm, strtoll, strtoull */
#define CYGWIN_VERSION_API_MAJOR 0
-#define CYGWIN_VERSION_API_MINOR 115
+#define CYGWIN_VERSION_API_MINOR 116
/* There is also a compatibity version number associated with the
shared memory regions. It is incremented when incompatible
diff --git a/winsup/cygwin/winbase.h b/winsup/cygwin/winbase.h
index 3dbf116..fc9af06 100644
--- a/winsup/cygwin/winbase.h
+++ b/winsup/cygwin/winbase.h
@@ -34,7 +34,7 @@ ilockexch (long *t, long v)
__asm__ __volatile__ ("\n\
1: lock cmpxchgl %3,(%1)\n\
jne 1b\n\
- ": "=a" (__res), "=q" (t): "1" (t), "q" (v), "0" (*t));
+ ": "=a" (__res), "=q" (t): "1" (t), "q" (v), "0" (*t): "memory": "cc");
return __res;
}
@@ -44,7 +44,7 @@ ilockcmpexch (long *t, long v, long c)
register int __res;
__asm__ __volatile__ ("\n\
lock cmpxchgl %3,(%1)\n\
- ": "=a" (__res), "=q" (t) : "1" (t), "q" (v), "0" (c));
+ ": "=a" (__res), "=q" (t) : "1" (t), "q" (v), "0" (c): "memory": "cc");
return __res;
}