summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <cgf@redhat.com>2004-01-14 15:32:11 +0000
committerChristopher Faylor <cgf@redhat.com>2004-01-14 15:32:11 +0000
commitc907c2f1a62059876dfdfebc638f6135846d74db (patch)
tree27a3b02a40bff8ed81b96e8deaca79a49361b033
parent50a5c33527db955895a2fa5bc588b8688b6390c5 (diff)
downloadgdb-c907c2f1a62059876dfdfebc638f6135846d74db.tar.gz
* cygtls.h (_threadinfo::call): Remove regparm declaration to work around
compiler bug.
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/cygtls.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index e5534d04f50..b52a26b8c61 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,8 @@
+2004-01-14 Christopher Faylor <cgf@redhat.com>
+
+ * cygtls.h (_threadinfo::call): Remove regparm declaration to work
+ around compiler bug.
+
2004-01-13 Christopher Faylor <cgf@redhat.com>
* autoload.cc (TryEnterCriticalSection): Remove.
diff --git a/winsup/cygwin/cygtls.h b/winsup/cygwin/cygtls.h
index ff07fc69df2..779e42b8981 100644
--- a/winsup/cygwin/cygtls.h
+++ b/winsup/cygwin/cygtls.h
@@ -116,7 +116,7 @@ struct _threadinfo
static CRITICAL_SECTION protect_linked_list;
static void init ();
void init_thread (void *, DWORD (*) (void *, void *));
- static void call (DWORD (*) (void *, void *), void *) __attribute__ ((regparm (3)));
+ static void call (DWORD (*) (void *, void *), void *);
static void call2 (DWORD (*) (void *, void *), void *, void *) __attribute__ ((regparm (3)));
static struct _threadinfo *find_tls (int sig);
void remove (DWORD);