diff options
author | Christopher Faylor <me@cgf.cx> | 2013-01-21 07:42:02 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2013-01-21 07:42:02 +0000 |
commit | 6d34849474e251d17fa7b314570fe745d38cd609 (patch) | |
tree | 4f0122989b70df3c2e41d2837bbeb7aad4d04a5a | |
parent | a526df1e205a71f5316be9b431b61db166ec4c12 (diff) | |
download | newlib-6d34849474e251d17fa7b314570fe745d38cd609.zip newlib-6d34849474e251d17fa7b314570fe745d38cd609.tar.gz newlib-6d34849474e251d17fa7b314570fe745d38cd609.tar.bz2 |
* cygerrno.h (__reg3): Define.
* cygmalloc.h (__reg3): Ditto.
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/cygerrno.h | 4 | ||||
-rw-r--r-- | winsup/cygwin/cygmalloc.h | 4 |
3 files changed, 9 insertions, 4 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 3878cfe..1bb1916 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,5 +1,10 @@ 2013-01-21 Christopher Faylor <me.cygwin2013@cgf.cx> + * cygerrno.h (__reg3): Define. + * cygmalloc.h (__reg3): Ditto. + +2013-01-21 Christopher Faylor <me.cygwin2013@cgf.cx> + * cygerrno.h: Conditionally define __regN for cygserver. 2013-01-20 Christopher Faylor <me.cygwin2013@cgf.cx> diff --git a/winsup/cygwin/cygerrno.h b/winsup/cygwin/cygerrno.h index 677b3b0..64a32dd 100644 --- a/winsup/cygwin/cygerrno.h +++ b/winsup/cygwin/cygerrno.h @@ -19,8 +19,8 @@ details. */ #ifndef __reg2 # define __reg2 __stdcall __attribute__ ((regparm (2))) #endif -#ifndef __reg2 -# define __reg2 __stdcall __attribute__ ((regparm (2))) +#ifndef __reg3 +# define __reg3 __stdcall __attribute__ ((regparm (3))) #endif void __reg3 seterrno_from_win_error (const char *file, int line, DWORD code); diff --git a/winsup/cygwin/cygmalloc.h b/winsup/cygwin/cygmalloc.h index 1a0235d..bf3a623 100644 --- a/winsup/cygwin/cygmalloc.h +++ b/winsup/cygwin/cygmalloc.h @@ -17,8 +17,8 @@ extern "C" { #ifndef __reg2 # define __reg2 __stdcall __attribute__ ((regparm (2))) #endif -#ifndef __reg2 -# define __reg2 __stdcall __attribute__ ((regparm (2))) +#ifndef __reg3 +# define __reg3 __stdcall __attribute__ ((regparm (3))) #endif void __reg1 dlfree (void *p); void __reg1 *dlmalloc (unsigned size); |