public inbox for libc-ports@sourceware.org
 help / color / mirror / Atom feed
* Re: PATCH: Add __syscall_slong_t and __syscall_ulong_t
       [not found]       ` <CAMe9rOqh-VbhrzyPbOfvoJ_xarMSf57zbniEr0sRK1+StVpy7g@mail.gmail.com>
@ 2012-05-16 10:31         ` Joseph S. Myers
  2012-05-16 13:45           ` [PATCH] linux-generic: fix typesizes.h to match recent core changes Chris Metcalf
  0 siblings, 1 reply; 5+ messages in thread
From: Joseph S. Myers @ 2012-05-16 10:31 UTC (permalink / raw)
  To: libc-ports, Richard Henderson, Chris Metcalf

[-- Attachment #1: Type: TEXT/PLAIN, Size: 598 bytes --]

On Tue, 15 May 2012, H.J. Lu wrote:

> On Tue, May 15, 2012 at 9:41 AM, Roland McGrath <roland@hack.frob.com> wrote:
> > OK, so it's used in public struct types.  The change is fine then.
> > I don't care either way about __snseconds_t.
> >
> > Thanks,
> > Roland
> 
> I checked it in. I am checking in this patch to remove __snseconds_t.

Richard, Chris, you'll want to update the alpha and linux-generic 
typesizes.h files in line with these changes to add __SYSCALL_SLONG_TYPE 
and __SYSCALL_ULONG_TYPE and remove __SNSECONDS_T_TYPE.

-- 
Joseph S. Myers
joseph@codesourcery.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH] linux-generic: fix typesizes.h to match recent core changes
  2012-05-16 10:31         ` PATCH: Add __syscall_slong_t and __syscall_ulong_t Joseph S. Myers
@ 2012-05-16 13:45           ` Chris Metcalf
  2012-05-16 14:12             ` Joseph S. Myers
  2012-05-18 13:39             ` Joseph S. Myers
  0 siblings, 2 replies; 5+ messages in thread
From: Chris Metcalf @ 2012-05-16 13:45 UTC (permalink / raw)
  To: libc-ports

Remove __SNSECONDS_T_TYPE; add __SYSCALL_{S,U}LONG_TYPE.
---
 ChangeLog.linux-generic                          |    6 ++++++
 sysdeps/unix/sysv/linux/generic/bits/typesizes.h |    3 ++-
 2 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/ChangeLog.linux-generic b/ChangeLog.linux-generic
index 9f563e3..811b6c6 100644
--- a/ChangeLog.linux-generic
+++ b/ChangeLog.linux-generic
@@ -1,3 +1,9 @@
+2012-05-16  Chris Metcalf  <cmetcalf@tilera.com>
+
+	* sysdeps/unix/sysv/linux/generic/bits/typesizes.h:
+	Remove now-unused __SNSECONDS_T_TYPE, and add new
+	__SYSCALL_ULONG_TYPE and __SYSCALL_SLONG_TYPE types.
+
 2012-05-14  Chris Metcalf  <cmetcalf@tilera.com>
 
 	* sysdeps/unix/sysv/linux/generic/bits/stat.h,
diff --git a/sysdeps/unix/sysv/linux/generic/bits/typesizes.h b/sysdeps/unix/sysv/linux/generic/bits/typesizes.h
index b6541bb..b280c9b 100644
--- a/sysdeps/unix/sysv/linux/generic/bits/typesizes.h
+++ b/sysdeps/unix/sysv/linux/generic/bits/typesizes.h
@@ -58,7 +58,8 @@
 #define __BLKSIZE_T_TYPE	__S32_TYPE
 #define __FSID_T_TYPE		struct { int __val[2]; }
 #define __SSIZE_T_TYPE		__SWORD_TYPE
-#define __SNSECONDS_T_TYPE	__SLONGWORD_TYPE
+#define __SYSCALL_SLONG_TYPE	__SLONGWORD_TYPE
+#define __SYSCALL_ULONG_TYPE	__ULONGWORD_TYPE
 
 /* Number of descriptors that can fit in an `fd_set'.  */
 #define	__FD_SETSIZE		1024
-- 
1.6.5.2

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] linux-generic: fix typesizes.h to match recent core changes
  2012-05-16 13:45           ` [PATCH] linux-generic: fix typesizes.h to match recent core changes Chris Metcalf
@ 2012-05-16 14:12             ` Joseph S. Myers
  2012-05-18 13:39             ` Joseph S. Myers
  1 sibling, 0 replies; 5+ messages in thread
From: Joseph S. Myers @ 2012-05-16 14:12 UTC (permalink / raw)
  To: Chris Metcalf; +Cc: libc-ports

On Wed, 16 May 2012, Chris Metcalf wrote:

> Remove __SNSECONDS_T_TYPE; add __SYSCALL_{S,U}LONG_TYPE.

Thanks, please commit.

-- 
Joseph S. Myers
joseph@codesourcery.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] linux-generic: fix typesizes.h to match recent core changes
  2012-05-16 13:45           ` [PATCH] linux-generic: fix typesizes.h to match recent core changes Chris Metcalf
  2012-05-16 14:12             ` Joseph S. Myers
@ 2012-05-18 13:39             ` Joseph S. Myers
  2012-05-18 17:19               ` [PATCH] linux-generic: add __FSWORD_T_TYPE to <bits/typesizes.h> Chris Metcalf
  1 sibling, 1 reply; 5+ messages in thread
From: Joseph S. Myers @ 2012-05-18 13:39 UTC (permalink / raw)
  To: Chris Metcalf; +Cc: libc-ports

There are now more libc bits/typesizes.h changes requiring corresponding 
linux-generic updates....

-- 
Joseph S. Myers
joseph@codesourcery.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH] linux-generic: add __FSWORD_T_TYPE to <bits/typesizes.h>
  2012-05-18 13:39             ` Joseph S. Myers
@ 2012-05-18 17:19               ` Chris Metcalf
  0 siblings, 0 replies; 5+ messages in thread
From: Chris Metcalf @ 2012-05-18 17:19 UTC (permalink / raw)
  To: libc-ports

---
Pushed as trivial.

 ChangeLog.linux-generic                          |    5 +++++
 sysdeps/unix/sysv/linux/generic/bits/typesizes.h |    1 +
 2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/ChangeLog.linux-generic b/ChangeLog.linux-generic
index f74df7c..821270f 100644
--- a/ChangeLog.linux-generic
+++ b/ChangeLog.linux-generic
@@ -1,3 +1,8 @@
+2012-05-18  Chris Metcalf  <cmetcalf@tilera.com>
+
+	* sysdeps/unix/sysv/linux/generic/bits/typesizes.h
+	(__FSWORD_T_TYPE): New macro.
+
 2012-05-16  Chris Metcalf  <cmetcalf@tilera.com>
 
 	* sysdeps/unix/sysv/linux/generic/not-cancel.h: Add
diff --git a/sysdeps/unix/sysv/linux/generic/bits/typesizes.h b/sysdeps/unix/sysv/linux/generic/bits/typesizes.h
index b280c9b..948edeb 100644
--- a/sysdeps/unix/sysv/linux/generic/bits/typesizes.h
+++ b/sysdeps/unix/sysv/linux/generic/bits/typesizes.h
@@ -45,6 +45,7 @@
 #define	__FSBLKCNT64_T_TYPE	__UQUAD_TYPE
 #define	__FSFILCNT_T_TYPE	__ULONGWORD_TYPE
 #define	__FSFILCNT64_T_TYPE	__UQUAD_TYPE
+#define	__FSWORD_T_TYPE		__SWORD_TYPE
 #define	__ID_T_TYPE		__U32_TYPE
 #define __CLOCK_T_TYPE		__SLONGWORD_TYPE
 #define __TIME_T_TYPE		__SLONGWORD_TYPE
-- 
1.6.5.2

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-05-18 17:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20120412012017.GA27647@intel.com>
     [not found] ` <20120514220816.DDDB42C08E@topped-with-meat.com>
     [not found]   ` <CAMe9rOpEUO2aKJ4494knAhwuuM7d3Ztz8jNUph1psWrJZozjMQ@mail.gmail.com>
     [not found]     ` <20120515164158.17BBD2C086@topped-with-meat.com>
     [not found]       ` <CAMe9rOqh-VbhrzyPbOfvoJ_xarMSf57zbniEr0sRK1+StVpy7g@mail.gmail.com>
2012-05-16 10:31         ` PATCH: Add __syscall_slong_t and __syscall_ulong_t Joseph S. Myers
2012-05-16 13:45           ` [PATCH] linux-generic: fix typesizes.h to match recent core changes Chris Metcalf
2012-05-16 14:12             ` Joseph S. Myers
2012-05-18 13:39             ` Joseph S. Myers
2012-05-18 17:19               ` [PATCH] linux-generic: add __FSWORD_T_TYPE to <bits/typesizes.h> Chris Metcalf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).