This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.21-239-g37d60d9


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 "GNU C Library master sources".

The branch, master has been updated
       via  37d60d970c342b7f21a173a363c8be6558ad6e6e (commit)
      from  b763f6ae859ecea70a5dacb8ad45c71d5f667e2e (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://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=37d60d970c342b7f21a173a363c8be6558ad6e6e

commit 37d60d970c342b7f21a173a363c8be6558ad6e6e
Author: Florian Weimer <fweimer@redhat.com>
Date:   Thu Apr 2 10:07:04 2015 +0200

    Define libc_max_align_t for internal use

diff --git a/ChangeLog b/ChangeLog
index 2a7f505..9bac298 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-04-02  Florian Weimer  <fweimer@redhat.com>
+
+	* include/libc-internal.h (libc_max_align_t): Define.
+
 2015-04-02  Andreas Schwab  <schwab@suse.de>
 
 	[BZ #16850]
diff --git a/include/libc-internal.h b/include/libc-internal.h
index bca59a4..b37388e 100644
--- a/include/libc-internal.h
+++ b/include/libc-internal.h
@@ -107,4 +107,13 @@ extern void __init_misc (int, char **, char **);
 #define DIAG_IGNORE_NEEDS_COMMENT(version, option)	\
   _Pragma (_DIAG_STR (GCC diagnostic ignored option))
 
+/* This mirrors the C11 max_align_t type provided by GCC, but it is
+   also available in C99 mode.  The aligned attributes are required
+   because some ABIs have reduced alignment requirements for struct
+   and union members.  */
+typedef struct {
+  long long ll __attribute__ ((__aligned__ (__alignof__ (long long))));
+  long double ld __attribute__ ((__aligned__ (__alignof__ (long double))));
+} libc_max_align_t;
+
 #endif /* _LIBC_INTERNAL  */

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog               |    4 ++++
 include/libc-internal.h |    9 +++++++++
 2 files changed, 13 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]