This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
Community source repository for glibc add-on ports branch, master, updated. glibc-2.15-88-g397c66b
- From: jsm28 at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 26 Feb 2012 19:39:58 -0000
- Subject: Community source repository for glibc add-on ports branch, master, updated. glibc-2.15-88-g397c66b
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Community source repository for glibc add-on ports".
The branch, master has been updated
via 397c66b46502b1bc91e19ac7bbdcf3f3f515b1a7 (commit)
from 7ba6eb7c8ac8f884bec5633e843fca25f01590e4 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc-ports.git;a=commitdiff;h=397c66b46502b1bc91e19ac7bbdcf3f3f515b1a7
commit 397c66b46502b1bc91e19ac7bbdcf3f3f515b1a7
Author: Joseph Myers <joseph@codesourcery.com>
Date: Sun Feb 26 19:39:23 2012 +0000
MIPS: Name pthread_attr_t union, use it in sigevent, don't name siginfo_t struct.
diff --git a/ChangeLog.mips b/ChangeLog.mips
index bcea57f..9442105 100644
--- a/ChangeLog.mips
+++ b/ChangeLog.mips
@@ -1,3 +1,11 @@
+2012-02-26 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Don't name
+ siginfo_t struct. Add forward declaration of pthread_attr_t and
+ use it in sigevent.
+ * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Name
+ pthread_attr_t union.
+
2012-02-21 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/linux/mips/bits/epoll.h: New file.
diff --git a/sysdeps/unix/sysv/linux/mips/bits/siginfo.h b/sysdeps/unix/sysv/linux/mips/bits/siginfo.h
index 484668f..3d776e2 100644
--- a/sysdeps/unix/sysv/linux/mips/bits/siginfo.h
+++ b/sysdeps/unix/sysv/linux/mips/bits/siginfo.h
@@ -1,6 +1,5 @@
/* siginfo_t, sigevent and constants. Linux/MIPS version.
- Copyright (C) 1997, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008, 2011
- Free Software Foundation, Inc.
+ Copyright (C) 1997-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -50,7 +49,7 @@ typedef union sigval
# endif
-typedef struct siginfo
+typedef struct
{
int si_signo; /* Signal number. */
int si_code; /* Signal code. */
@@ -274,6 +273,9 @@ enum
# define __SIGEV_PAD_SIZE ((__SIGEV_MAX_SIZE / sizeof (int)) - 3)
# endif
+/* Forward declaration. */
+typedef union __pthread_attr pthread_attr_t;
+
typedef struct sigevent
{
sigval_t sigev_value;
@@ -291,7 +293,7 @@ typedef struct sigevent
struct
{
void (*_function) (sigval_t); /* Function to start. */
- void *_attribute; /* Really pthread_attr_t. */
+ pthread_attr_t *_attribute; /* Thread attributes. */
} _sigev_thread;
} _sigev_un;
} sigevent_t;
diff --git a/sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h b/sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
index 166a6c6..87a25da 100644
--- a/sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
+++ b/sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
@@ -1,5 +1,5 @@
/* Machine-specific pthread type layouts. MIPS version.
- Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+ Copyright (C) 2005-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -50,7 +50,7 @@
typedef unsigned long int pthread_t;
-typedef union
+typedef union __pthread_attr
{
char __size[__SIZEOF_PTHREAD_ATTR_T];
long int __align;
-----------------------------------------------------------------------
Summary of changes:
ChangeLog.mips | 8 ++++++++
sysdeps/unix/sysv/linux/mips/bits/siginfo.h | 10 ++++++----
.../unix/sysv/linux/mips/nptl/bits/pthreadtypes.h | 4 ++--
3 files changed, 16 insertions(+), 6 deletions(-)
hooks/post-receive
--
Community source repository for glibc add-on ports