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, hjl/x32/master, updated. glibc-2.15-735-gb67cafd


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, hjl/x32/master has been updated
       via  b67cafdbccf77335ca9074cefa9eea7258602603 (commit)
       via  3507ac6af661c24ce009e5297e9b10f5a46b8022 (commit)
       via  ec98af7d1b9a82ddac216beaa3dbe45168e83002 (commit)
       via  247c3ede396bf000b6e095e5d2b361aa329fc180 (commit)
       via  eb4aa10a794eb363b4f5bc6957133396bef4baf8 (commit)
       via  a3748ab9ee81b9fb5267b3e33e521890f9736a39 (commit)
       via  421cfa85004fedb444a19bf8bf939c924ca8cb25 (commit)
       via  a2db2e865e901453bb3805255d3e0a42c03ce5f6 (commit)
       via  bdc7d2dc9c229748df7c5040b6db271569cad002 (commit)
       via  55939d6d451a357b0af1f74c03a003e844170720 (commit)
       via  90020f5ab0b0e844d183b206aa1205552711a6fa (commit)
       via  288f9098cb550efe1420f26fc3fc2563bb4ea109 (commit)
       via  4be2b5700315a99c6828ad314ed3e45ecf1c1527 (commit)
       via  4cfd80263af2a94c6a2046ef43d2dc511bc15188 (commit)
       via  d7dd44133f53e8bcc81e18c11694bee985cd86d0 (commit)
       via  834ce02222e85a17df84e9bb0658a6536da7127e (commit)
       via  b46068fcf2e915d740dab7993253c0ec8f84fe5d (commit)
       via  bee331ecd881d4170074b0081e1f23663ee8d1fa (commit)
       via  3239bc573e949c5509ceb8aece3c021055dc6978 (commit)
       via  681f58bcceb89bba443fcc8a3e3c5978a433ce70 (commit)
       via  af7eff1170de3f44e746e00d746ff3486c15ead3 (commit)
       via  73d65cc3784b1413b017fed31550ec11e717e45b (commit)
       via  d715c9144bdf32211cd512530d2240dc28648435 (commit)
       via  8f9a2faee0619ed5fad7b9c54b64f866b0264bde (commit)
       via  bcc8d6617ba029c288fff9680a02b9a3b1caa9c0 (commit)
       via  a73d12ef0b07a66e3bb5bfd00859d453123fa1c0 (commit)
       via  0b592f2018cac94d6c4b34eb876cda82ecbcb14a (commit)
       via  8a1fbaaf75536088b4d505409e0e87975d8cf8d5 (commit)
       via  8de131cbff365a34392ee3314ee5ea8007a877fe (commit)
       via  03879793292b70f4c3ca64259e80a2b44787e865 (commit)
       via  823fbbb41b4a7cbd45e5506d3f2d9381e9112405 (commit)
       via  c0ed9d7d2be861dc01cd6051415b8a8f1f5fa2aa (commit)
       via  d7dd94539899466a9a4e38c61ab846ffcb314dad (commit)
       via  c483f6b4a4277bc209820efc1ae35d976af57b4e (commit)
       via  d2de7579f257386ba5c28dfca94fa8aef143b4e0 (commit)
       via  f77f12320635155da728a3c1adb75ff9914cf686 (commit)
       via  3884932b78d5bdb0c4e6f5ebfd8083e91a51f0d8 (commit)
       via  6ab0fbfc84836b695413c7d20c2db2d870d2331e (commit)
       via  7216225a73dad15756ad8f1dae159b8fbfd9231a (commit)
       via  61efba8cdf14749b142b1906e2a84b5cfe877812 (commit)
       via  95c3f29a06f12ae8619426a879248b44ced38e42 (commit)
       via  54472e9c32ab18df49e279c64be9a2debfc0fec1 (commit)
       via  96bd03c79a7ea9bdf6130e4a641d3144cbefabac (commit)
       via  624254b18ae5a756baabbcd881faf1440e36151f (commit)
       via  1e4920e0808439be5e4a6a6e8a736de32c43b070 (commit)
       via  5ed848f3d8b5b3be92fe3006fd18a089ef982316 (commit)
       via  96154cd892c614f13f32996ce75df1442641fb5b (commit)
       via  9904dc47c88d9592ec66e5990754369bfde84c02 (commit)
       via  f8887d0a5feda97244613135822b0439addc2b1f (commit)
       via  d4d1707fd64567d464de98893f52999cd40a51cd (commit)
       via  62470f605ed931f88fb1993f4440d5bb02afa2b1 (commit)
       via  f23a86baf73e610843ac723fbdd59e7234e6d31d (commit)
       via  4dad7bab2b223caea7d0b66b7d8d1c168f722f16 (commit)
       via  2c040eff839ff8c2b1b1c3ab0f6cbb30976ce87a (commit)
       via  e9142a17e1deb881638e60f14054a69075587c75 (commit)
       via  dcd2ae90d5d5c9f9360def390f8ff413ee3dba57 (commit)
       via  993eb0541cd32ce72f1f8d768b35857a678894eb (commit)
       via  48e2e132debdc5f0163114c89a6eaec986c9bf84 (commit)
       via  c9e9d408631bf700fc975d315e4c6d8ce8d84d3c (commit)
       via  ac7e1507e643ab9674eda2915449d736d2319bac (commit)
       via  ff9f1c5f324eb53adc23bfb80f3c932760c94149 (commit)
       via  e80d6f94e19d17b91e3cd3ada7193cc88f621feb (commit)
       via  349fa79f5527f78d60c78eb1fbb2dfb56846018c (commit)
       via  6745ccf5a4b03a6565e7cc5b7e00e00a56cd440b (commit)
       via  f402708f8a593280992bdaf037f57c6a16c233cc (commit)
       via  2ecccfc97ac9e755f6b67fa0bac785148c7b8256 (commit)
       via  8a53f50f2a8ab4e1166afa0e9a8d4abc62b0ed4e (commit)
       via  15a946b57a1e7f4ba95b63572062860ca1a5e58f (commit)
       via  d653abb723919fb11f8573cdedf65505c0eca55f (commit)
       via  c3b1bf7d8581ac097f06346f0b279fdca92fb6b1 (commit)
       via  08b209a189b7664781e7e66752aac14353f2607f (commit)
       via  5f58bed58e916f651d2d89beffae86843ead424c (commit)
       via  67f60a26d4a570dde02666851cd13c54a0737336 (commit)
       via  b1aa60f32d34030b28bca04aeee084cd3bedecfa (commit)
       via  39c59c35723120c32dc42dde4115bba92305179f (commit)
       via  135ffda8b84226a91c6062db69a61975b2f11cb6 (commit)
       via  302cadd343d26cfa9b043c213c2a38de259464d8 (commit)
       via  228c019e6336d6da448715a1c5fcca9771827f61 (commit)
       via  d1635ef80ff1ddab70f2332f8780a6d126b89c08 (commit)
       via  cfa633f5b34064d66c037549dd42121efebe99ec (commit)
       via  6cd0a5eaf0bb7470a4e0c09c5c30a1ecb6d0b557 (commit)
       via  4b43400f6a710fa3d931a57eaae4cb332fb60edc (commit)
       via  48c41d04ee06efc6ec97325ed6697c121b40865f (commit)
       via  2f5a5ed02c346e5debc89b82a7c7e0eacc37a107 (commit)
       via  b8dc394ddfd58bc5d0fe9ecfc970fc42b789a9df (commit)
       via  966977f1b72123bdd5187a60e9b50eaa70312d90 (commit)
       via  8e6d108343c2f15d684b84fa48b73b23eb0e7c8b (commit)
       via  c030f70c8796c7743c3aa97d6beff3bd5b8dcd5d (commit)
       via  1d39e35923d086a0248f1934adfe31d8f6c813c0 (commit)
       via  e64d2de526d8cfa2908e08892a534316a0bddf5f (commit)
       via  20fde227388fb0c2857ff1793754056b833697fe (commit)
       via  984a42374ce2055836f580c2240306171757ea72 (commit)
       via  88d85d4f001fac0fd7ef4e3d05ca8a7d50b0c98f (commit)
       via  e5aa83e16d02bc8f1b1a352f83e12f3f14c4d4ac (commit)
       via  88570753eca62402d2c52a64a59330a650f3d0a9 (commit)
       via  249d7567cc0179882ee84d4e3c627850eed716dd (commit)
      from  7149c537dda1eda2785292c7fe21f5585b096e30 (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.git;a=commitdiff;h=b67cafdbccf77335ca9074cefa9eea7258602603

commit b67cafdbccf77335ca9074cefa9eea7258602603
Merge: eb4aa10 3507ac6
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Apr 12 15:11:36 2012 -0700

    Merge remote-tracking branch 'origin/master' into hjl/x32/master


http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=eb4aa10a794eb363b4f5bc6957133396bef4baf8

commit eb4aa10a794eb363b4f5bc6957133396bef4baf8
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Apr 11 15:41:39 2012 -0700

    Add x32 arch_prctl
    
    Since x32 arch_prctl stores 32bit base address of segment register %fs
    and %gs as unsigned 64bit value via ARCH_GET_FS and ARCH_GET_GS, we
    use a local unsigned 64bit variable to hold the base address and copy
    it to ADDR after arch_prctl return.

diff --git a/ChangeLog.x32 b/ChangeLog.x32
index 9bbeb4e..c754e61 100644
--- a/ChangeLog.x32
+++ b/ChangeLog.x32
@@ -1,5 +1,12 @@
 2012-04-11  H.J. Lu  <hongjiu.lu@intel.com>
 
+	* sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
+
+	* sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
+	Add arch_prctl.
+
+2012-04-11  H.J. Lu  <hongjiu.lu@intel.com>
+
 	* sysdeps/unix/sysv/linux/x86_64/x32/ptrace.c: New.
 
 2012-04-11  H.J. Lu  <hongjiu.lu@intel.com>
diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/Makefile b/sysdeps/unix/sysv/linux/x86_64/x32/Makefile
index 5f77df7..aa78238 100644
--- a/sysdeps/unix/sysv/linux/x86_64/x32/Makefile
+++ b/sysdeps/unix/sysv/linux/x86_64/x32/Makefile
@@ -1,3 +1,7 @@
+ifeq ($(subdir),misc)
+sysdep_routines += arch_prctl
+endif
+
 ifeq ($(subdir),posix)
 sysdep_routines += getcpu sched_getcpu-static
 endif
diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c b/sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c
new file mode 100644
index 0000000..a4079af
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c
@@ -0,0 +1,64 @@
+/* arch_prctl call for Linux/x32.
+   Copyright (C) 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
+   modify it under the terms of the GNU Lesser General Public
+   License as published by the Free Software Foundation; either
+   version 2.1 of the License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
+
+#include <errno.h>
+#include <sys/prctl.h>
+#include <sys/syscall.h>
+#include <sysdep.h>
+
+/* Since x32 arch_prctl stores 32bit base address of segment register %fs
+   and %gs as unsigned 64bit value via ARCH_GET_FS and ARCH_GET_GS, we
+   use a local unsigned 64bit variable to hold the base address and copy
+   it to ADDR after arch_prctl return.  */
+
+int
+__arch_prctl (int code, unsigned long *addr)
+{
+  int res;
+  unsigned long long base_addr;
+  unsigned long *addr_saved;
+
+  switch (code)
+    {
+    case ARCH_GET_FS:
+    case ARCH_GET_GS:
+      addr_saved = addr;
+      addr = &base_addr;
+      break;
+
+    default:
+      break;
+    }
+
+  res = INLINE_SYSCALL (arch_prctl, 2, code, addr);
+  if (res == 0)
+    switch (code)
+      {
+      case ARCH_GET_FS:
+      case ARCH_GET_GS:
+	*addr_saved = (unsigned long) base_addr;
+	break;
+
+      default:
+	break;
+      }
+
+  return res;
+}
+
+weak_alias (__arch_prctl, arch_prctl);

http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=a3748ab9ee81b9fb5267b3e33e521890f9736a39

commit a3748ab9ee81b9fb5267b3e33e521890f9736a39
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Apr 11 15:39:53 2012 -0700

    Add x32 ptrace
    
    Since x32 ptrace stores 32bit base address of segment register %fs
    and %gs as unsigned 64bit value via ARCH_GET_FS and ARCH_GET_GS with
    PTRACE_ARCH_PRCTL, we use a local unsigned 64bit variable to hold
    the base address and copy it to ADDR after ptrace return.

diff --git a/ChangeLog.x32 b/ChangeLog.x32
index 007043f..9bbeb4e 100644
--- a/ChangeLog.x32
+++ b/ChangeLog.x32
@@ -1,5 +1,9 @@
 2012-04-11  H.J. Lu  <hongjiu.lu@intel.com>
 
+	* sysdeps/unix/sysv/linux/x86_64/x32/ptrace.c: New.
+
+2012-04-11  H.J. Lu  <hongjiu.lu@intel.com>
+
 	* sysdeps/x86_64/sysdep.h (LP_OP): Moved before ASM_ADDR.
 
 2012-04-11  H.J. Lu  <hongjiu.lu@intel.com>
diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/ptrace.c b/sysdeps/unix/sysv/linux/x86_64/x32/ptrace.c
new file mode 100644
index 0000000..09bdac9
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/x86_64/x32/ptrace.c
@@ -0,0 +1,98 @@
+/* ptrace call for Linux/x32.
+   Copyright (C) 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
+   modify it under the terms of the GNU Lesser General Public
+   License as published by the Free Software Foundation; either
+   version 2.1 of the License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
+
+#include <errno.h>
+#include <sys/types.h>
+#define ptrace __redirect_ptrace
+#include <sys/ptrace.h>
+#undef ptrace
+#include <sys/syscall.h>
+#include <sysdep.h>
+
+#ifndef PTRACE_ARCH_PRCTL
+#define PTRACE_ARCH_PRCTL      30
+#endif
+
+/* Since x32 ptrace stores 32bit base address of segment register %fs
+   and %gs as unsigned 64bit value via ARCH_GET_FS and ARCH_GET_GS with
+   PTRACE_ARCH_PRCTL, we use a local unsigned 64bit variable to hold
+   the base address and copy it to ADDR after ptrace return.  */
+
+long
+ptrace (enum __ptrace_request request, pid_t pid, void *addr, void *data)
+{
+  long res, ret;
+  unsigned long long base_addr;
+  unsigned long *addr_saved;
+
+  switch ((int) request)
+    {
+    case PTRACE_PEEKTEXT:
+    case PTRACE_PEEKDATA:
+    case PTRACE_PEEKUSER:
+      /* Pass the address of return data to kernel.  */
+      data = &ret;
+      break;
+
+    case PTRACE_ARCH_PRCTL:
+      switch ((int) data)
+	{
+	case ARCH_GET_FS:
+	case ARCH_GET_GS:
+	  addr_saved = (unsigned long *) addr;
+	  addr = &base_addr;
+	  break;
+
+	default:
+	  break;
+	}
+      break;
+
+    default:
+      break;
+    }
+
+  res = INLINE_SYSCALL (ptrace, 4, request, pid, addr, data);
+  if (res >= 0)
+    switch ((int) request)
+      {
+      case PTRACE_PEEKTEXT:
+      case PTRACE_PEEKDATA:
+      case PTRACE_PEEKUSER:
+	__set_errno (0);
+	return ret;
+
+      case PTRACE_ARCH_PRCTL:
+	switch ((int) data)
+	  {
+	  case ARCH_GET_FS:
+	  case ARCH_GET_GS:
+	    *addr_saved = (unsigned long) base_addr;
+	    break;
+
+	  default:
+	    break;
+	  }
+	break;
+
+      default:
+	break;
+      }
+
+  return res;
+}

http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=421cfa85004fedb444a19bf8bf939c924ca8cb25

commit 421cfa85004fedb444a19bf8bf939c924ca8cb25
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Apr 11 13:41:54 2012 -0700

    Move LP_OP before ASM_ADDR

diff --git a/ChangeLog.x32 b/ChangeLog.x32
index 1d9976f..007043f 100644
--- a/ChangeLog.x32
+++ b/ChangeLog.x32
@@ -1,5 +1,9 @@
 2012-04-11  H.J. Lu  <hongjiu.lu@intel.com>
 
+	* sysdeps/x86_64/sysdep.h (LP_OP): Moved before ASM_ADDR.
+
+2012-04-11  H.J. Lu  <hongjiu.lu@intel.com>
+
 	* sysdeps/unix/sysv/linux/x86_64/bits/ipc.h: Update copyright
 	year.
 	* sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Likewise.
diff --git a/sysdeps/x86_64/sysdep.h b/sysdeps/x86_64/sysdep.h
index f426fbd..e34d7a9 100644
--- a/sysdeps/x86_64/sysdep.h
+++ b/sysdeps/x86_64/sysdep.h
@@ -127,12 +127,12 @@ lose:									      \
 /* Long and pointer size in bytes.  */
 #define LP_SIZE "8"
 
-/* Assembler address directive. */
-#define ASM_ADDR ".quad"
-
 /* Instruction to operate on long and pointer.  */
 #define LP_OP(insn) #insn "q"
 
+/* Assembler address directive. */
+#define ASM_ADDR ".quad"
+
 /* Registers to hold long and pointer.  */
 #define RAX_LP	"rax"
 #define RBP_LP	"rbp"

http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=a2db2e865e901453bb3805255d3e0a42c03ce5f6

commit a2db2e865e901453bb3805255d3e0a42c03ce5f6
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Apr 11 13:38:43 2012 -0700

    Update copyright year

diff --git a/ChangeLog.x32 b/ChangeLog.x32
index 7f094b4..1d9976f 100644
--- a/ChangeLog.x32
+++ b/ChangeLog.x32
@@ -1,3 +1,34 @@
+2012-04-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* sysdeps/unix/sysv/linux/x86_64/bits/ipc.h: Update copyright
+	year.
+	* sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Likewise.
+	* sysdeps/unix/sysv/linux/x86_64/bits/mqueue.h: Likewise.
+	* sysdeps/unix/sysv/linux/x86_64/bits/resource.h: Likewise.
+	* sysdeps/unix/sysv/linux/x86_64/bits/statfs.h: Likewise.
+	* sysdeps/unix/sysv/linux/x86_64/bits/statvfs.h: Likewise.
+	* sysdeps/unix/sysv/linux/x86_64/bits/timex.h: Likewise.
+	* sysdeps/unix/sysv/linux/x86_64/bits/utmp.h: Likewise.
+	* sysdeps/unix/sysv/linux/x86_64/bits/utmpx.h: Likewise.
+	* sysdeps/unix/sysv/linux/x86_64/sys/msg.h: Likewise.
+	* sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: Likewise.
+	* sysdeps/unix/sysv/linux/x86_64/x32/fallocate.c: Likewise.
+	* sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
+	* sysdeps/unix/sysv/linux/x86_64/x32/getdents.c: Likewise.
+	* sysdeps/unix/sysv/linux/x86_64/x32/gettimeofday.c: Likewise.
+	* sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
+	* sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
+	* sysdeps/unix/sysv/linux/x86_64/x32/posix_fadvise.c: Likewise.
+	* sysdeps/unix/sysv/linux/x86_64/x32/posix_fallocate.c: Likewise.
+	* sysdeps/unix/sysv/linux/x86_64/x32/preadv.c: Likewise.
+	* sysdeps/unix/sysv/linux/x86_64/x32/pselect.c: Likewise.
+	* sysdeps/unix/sysv/linux/x86_64/x32/pwritev.c: Likewise.
+	* sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
+	* sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
+	* sysdeps/unix/sysv/linux/x86_64/x32/time.c: Likewise.
+	* sysdeps/x86_64/x32/dl-machine.h: Likewise.
+	* sysdeps/x86_64/x32/sysdep.h: Likewise.
+
 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
 
 	* sysdeps/x86_64/64/Implies-after: New file.
diff --git a/nptl/ChangeLog.x32 b/nptl/ChangeLog.x32
index 1264bfb..521a14c 100644
--- a/nptl/ChangeLog.x32
+++ b/nptl/ChangeLog.x32
@@ -1,3 +1,7 @@
+2012-04-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* sysdeps/x86_64/x32/tls.h: Update copyright year.
+
 2012-03-17  H.J. Lu  <hongjiu.lu@intel.com>
 
 	* sysdeps/unix/sysv/linux/x86_64/cancellation.S: Replace ADD_LP,
diff --git a/nptl/sysdeps/x86_64/x32/tls.h b/nptl/sysdeps/x86_64/x32/tls.h
index 6622b4e..e397ca1 100644
--- a/nptl/sysdeps/x86_64/x32/tls.h
+++ b/nptl/sysdeps/x86_64/x32/tls.h
@@ -1,5 +1,5 @@
 /* Definition for thread-local data handling.  nptl/x32 version.
-   Copyright (C) 2011 Free Software Foundation, Inc.
+   Copyright (C) 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
@@ -13,9 +13,8 @@
    Lesser General Public License for more details.
 
    You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, write to the Free
-   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-   02111-1307 USA.  */
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
 
 #ifndef _X32_TLS_H
 #define _X32_TLS_H	1
diff --git a/sysdeps/unix/sysv/linux/x86_64/bits/ipc.h b/sysdeps/unix/sysv/linux/x86_64/bits/ipc.h
index 0736d43..6452d50 100644
--- a/sysdeps/unix/sysv/linux/x86_64/bits/ipc.h
+++ b/sysdeps/unix/sysv/linux/x86_64/bits/ipc.h
@@ -1,5 +1,4 @@
-/* Copyright (C) 1995-1999, 2000, 2011
-   Free Software Foundation, Inc.
+/* Copyright (C) 1995-1999, 2000, 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
@@ -13,9 +12,8 @@
    Lesser General Public License for more details.
 
    You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, write to the Free
-   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-   02111-1307 USA.  */
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
 
 #ifndef _SYS_IPC_H
 # error "Never use <bits/ipc.h> directly; include <sys/ipc.h> instead."
diff --git a/sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h b/sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h
index f8101b1..66e5ec2 100644
--- a/sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h
+++ b/sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h
@@ -1,5 +1,5 @@
 /* bits/ipctypes.h -- Define some types used by SysV IPC/MSG/SHM.
-   Copyright (C) 2011 Free Software Foundation, Inc.
+   Copyright (C) 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
@@ -13,9 +13,8 @@
    Lesser General Public License for more details.
 
    You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, write to the Free
-   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-   02111-1307 USA.  */
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
 
 #ifndef _SYS_IPC_H
 # error "Never use <bits/ipctypes.h> directly; include <sys/ipc.h> instead."
diff --git a/sysdeps/unix/sysv/linux/x86_64/bits/mqueue.h b/sysdeps/unix/sysv/linux/x86_64/bits/mqueue.h
index 1448a7a..805b16c 100644
--- a/sysdeps/unix/sysv/linux/x86_64/bits/mqueue.h
+++ b/sysdeps/unix/sysv/linux/x86_64/bits/mqueue.h
@@ -1,5 +1,4 @@
-/* Copyright (C) 2004, 2011
-   Free Software Foundation, Inc.
+/* Copyright (C) 2004, 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
@@ -13,9 +12,8 @@
    Lesser General Public License for more details.
 
    You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, write to the Free
-   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-   02111-1307 USA.  */
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
 
 #ifndef _MQUEUE_H
 # error "Never use <bits/mqueue.h> directly; include <mqueue.h> instead."
diff --git a/sysdeps/unix/sysv/linux/x86_64/bits/resource.h b/sysdeps/unix/sysv/linux/x86_64/bits/resource.h
index dea74be..a5fecbf 100644
--- a/sysdeps/unix/sysv/linux/x86_64/bits/resource.h
+++ b/sysdeps/unix/sysv/linux/x86_64/bits/resource.h
@@ -1,5 +1,5 @@
 /* Bit values & structures for resource limits.  Linux version.
-   Copyright (C) 1994, 1996-2000, 2004, 2005, 2008, 2009, 2010, 2011
+   Copyright (C) 1994, 1996-2000, 2004, 2005, 2008, 2009, 2010, 2011, 2012
    Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -14,9 +14,8 @@
    Lesser General Public License for more details.
 
    You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, write to the Free
-   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-   02111-1307 USA.  */
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
 
 #ifndef _SYS_RESOURCE_H
 # error "Never use <bits/resource.h> directly; include <sys/resource.h> instead."
diff --git a/sysdeps/unix/sysv/linux/x86_64/bits/statfs.h b/sysdeps/unix/sysv/linux/x86_64/bits/statfs.h
index d96337e..e1f072f 100644
--- a/sysdeps/unix/sysv/linux/x86_64/bits/statfs.h
+++ b/sysdeps/unix/sysv/linux/x86_64/bits/statfs.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998, 2000, 2002, 2003, 2010, 2011
+/* Copyright (C) 1997, 1998, 2000, 2002, 2003, 2010, 2012
    Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -13,9 +13,8 @@
    Lesser General Public License for more details.
 
    You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, write to the Free
-   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-   02111-1307 USA.  */
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
 
 #ifndef _SYS_STATFS_H
 # error "Never include <bits/statfs.h> directly; use <sys/statfs.h> instead."
diff --git a/sysdeps/unix/sysv/linux/x86_64/bits/statvfs.h b/sysdeps/unix/sysv/linux/x86_64/bits/statvfs.h
index a2769bd..21f1ee8 100644
--- a/sysdeps/unix/sysv/linux/x86_64/bits/statvfs.h
+++ b/sysdeps/unix/sysv/linux/x86_64/bits/statvfs.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997,1998,2000,2001,2002,2006,2011
+/* Copyright (C) 1997, 1998, 2000, 2001, 2002, 2006, 2012
    Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -13,9 +13,8 @@
    Lesser General Public License for more details.
 
    You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, write to the Free
-   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-   02111-1307 USA.  */
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
 
 #ifndef _SYS_STATVFS_H
 # error "Never include <bits/statvfs.h> directly; use <sys/statvfs.h> instead."
diff --git a/sysdeps/unix/sysv/linux/x86_64/bits/timex.h b/sysdeps/unix/sysv/linux/x86_64/bits/timex.h
index adf6292..c32e608 100644
--- a/sysdeps/unix/sysv/linux/x86_64/bits/timex.h
+++ b/sysdeps/unix/sysv/linux/x86_64/bits/timex.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995-1997, 1999, 2007, 2009, 2011
+/* Copyright (C) 1995-1997, 1999, 2007, 2009, 2011, 2012
    Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -13,9 +13,8 @@
    Lesser General Public License for more details.
 
    You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, write to the Free
-   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-   02111-1307 USA.  */
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
 
 #ifndef	_BITS_TIMEX_H
 #define	_BITS_TIMEX_H	1
diff --git a/sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h b/sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
index d6d4b92..5fddc59 100644
--- a/sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
+++ b/sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
@@ -1,5 +1,5 @@
 /* bits/typesizes.h -- underlying types for *_t.  X86_64 version.
-   Copyright (C) 2011 Free Software Foundation, Inc.
+   Copyright (C) 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
@@ -13,9 +13,8 @@
    Lesser General Public License for more details.
 
    You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, write to the Free
-   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-   02111-1307 USA.  */
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
 
 #ifndef _BITS_TYPES_H
 # error "Never include <bits/typesizes.h> directly; use <sys/types.h> instead."
diff --git a/sysdeps/unix/sysv/linux/x86_64/bits/utmp.h b/sysdeps/unix/sysv/linux/x86_64/bits/utmp.h
index 3e18f17..926b77d 100644
--- a/sysdeps/unix/sysv/linux/x86_64/bits/utmp.h
+++ b/sysdeps/unix/sysv/linux/x86_64/bits/utmp.h
@@ -1,5 +1,5 @@
 /* The `struct utmp' type, describing entries in the utmp file.  GNU version.
-   Copyright (C) 1993, 1996, 1997, 1998, 1999, 2002, 2011
+   Copyright (C) 1993, 1996, 1997, 1998, 1999, 2002, 2012
    Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -14,9 +14,8 @@
    Lesser General Public License for more details.
 
    You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, write to the Free
-   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-   02111-1307 USA.  */
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
 
 #ifndef _UTMP_H
 # error "Never include <bits/utmp.h> directly; use <utmp.h> instead."
diff --git a/sysdeps/unix/sysv/linux/x86_64/bits/utmpx.h b/sysdeps/unix/sysv/linux/x86_64/bits/utmpx.h
index 6972b91..822653a 100644
--- a/sysdeps/unix/sysv/linux/x86_64/bits/utmpx.h
+++ b/sysdeps/unix/sysv/linux/x86_64/bits/utmpx.h
@@ -1,5 +1,5 @@
 /* Structures and definitions for the user accounting database.  GNU version.
-   Copyright (C) 1997, 1998, 2000, 2001, 2002, 2011
+   Copyright (C) 1997, 1998, 2000, 2001, 2002, 2012
    Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -14,9 +14,8 @@
    Lesser General Public License for more details.
 
    You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, write to the Free
-   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-   02111-1307 USA.  */
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
 
 #ifndef _UTMPX_H
 # error "Never include <bits/utmpx.h> directly; use <utmpx.h> instead."
diff --git a/sysdeps/unix/sysv/linux/x86_64/sys/msg.h b/sysdeps/unix/sysv/linux/x86_64/sys/msg.h
index 35aa171..7144b4f 100644
--- a/sysdeps/unix/sysv/linux/x86_64/sys/msg.h
+++ b/sysdeps/unix/sysv/linux/x86_64/sys/msg.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995-1997, 1999, 2000, 2003, 2006, 2007, 2011
+/* Copyright (C) 1995-1997, 1999, 2000, 2003, 2006, 2007, 2012
    Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -13,9 +13,8 @@
    Lesser General Public License for more details.
 
    You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, write to the Free
-   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-   02111-1307 USA.  */
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
 
 #ifndef _SYS_MSG_H
 #define _SYS_MSG_H
diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h b/sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h
index 22a56d7..2965164 100644
--- a/sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h
+++ b/sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h
@@ -1,5 +1,5 @@
 /* Support for reading /etc/ld.so.cache files written by Linux ldconfig.
-   Copyright (C) 20011 Free Software Foundation, Inc.
+   Copyright (C) 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
@@ -13,9 +13,8 @@
    Lesser General Public License for more details.
 
    You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, write to the Free
-   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-   02111-1307 USA.  */
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
 
 #include <sysdeps/unix/sysv/linux/x86_64/dl-cache.h>
 
diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/fallocate.c b/sysdeps/unix/sysv/linux/x86_64/x32/fallocate.c
index 3b849d5..b1768da 100644
--- a/sysdeps/unix/sysv/linux/x86_64/x32/fallocate.c
+++ b/sysdeps/unix/sysv/linux/x86_64/x32/fallocate.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2011 Free Software Foundation, Inc.
+/* Copyright (C) 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
@@ -12,9 +12,8 @@
    Lesser General Public License for more details.
 
    You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, write to the Free
-   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-   02111-1307 USA.  */
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
 
 #include <errno.h>
 #include <fcntl.h>
diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c b/sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c
index 06c2722..b01840e 100644
--- a/sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c
+++ b/sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2011 Free Software Foundation, Inc.
+/* Copyright (C) 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
@@ -12,9 +12,8 @@
    Lesser General Public License for more details.
 
    You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, write to the Free
-   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-   02111-1307 USA.  */
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
 
 #ifdef SHARED
 # include <dl-vdso.h>
diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/getdents.c b/sysdeps/unix/sysv/linux/x86_64/x32/getdents.c
index 7634853..4c09922 100644
--- a/sysdeps/unix/sysv/linux/x86_64/x32/getdents.c
+++ b/sysdeps/unix/sysv/linux/x86_64/x32/getdents.c
@@ -1,5 +1,4 @@
-/* Copyright (C) 2011
-   Free Software Foundation, Inc.
+/* Copyright (C) 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
@@ -13,9 +12,8 @@
    Lesser General Public License for more details.
 
    You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, write to the Free
-   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-   02111-1307 USA.  */
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
 
 #include <alloca.h>
 #include <errno.h>
diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/gettimeofday.c b/sysdeps/unix/sysv/linux/x86_64/x32/gettimeofday.c
index e998e14..4e94d53 100644
--- a/sysdeps/unix/sysv/linux/x86_64/x32/gettimeofday.c
+++ b/sysdeps/unix/sysv/linux/x86_64/x32/gettimeofday.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2011 Free Software Foundation, Inc.
+/* Copyright (C) 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
@@ -12,9 +12,8 @@
    Lesser General Public License for more details.
 
    You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, write to the Free
-   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-   02111-1307 USA.  */
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
 
 #ifdef SHARED
 # include <dl-vdso.h>
diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/init-first.c b/sysdeps/unix/sysv/linux/x86_64/x32/init-first.c
index f0aa8c8..6fc0dc0 100644
--- a/sysdeps/unix/sysv/linux/x86_64/x32/init-first.c
+++ b/sysdeps/unix/sysv/linux/x86_64/x32/init-first.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2011 Free Software Foundation, Inc.
+/* Copyright (C) 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
@@ -12,9 +12,8 @@
    Lesser General Public License for more details.
 
    You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, write to the Free
-   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-   02111-1307 USA.  */
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
 
 #ifdef SHARED
 # include <dl-vdso.h>
diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/llseek.S b/sysdeps/unix/sysv/linux/x86_64/x32/llseek.S
index ca33fd1..b1aee55 100644
--- a/sysdeps/unix/sysv/linux/x86_64/x32/llseek.S
+++ b/sysdeps/unix/sysv/linux/x86_64/x32/llseek.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2011 Free Software Foundation, Inc.
+/* Copyright (C) 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
@@ -12,9 +12,8 @@
    Lesser General Public License for more details.
 
    You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, write to the Free
-   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-   02111-1307 USA.  */
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
 
 #define SYSCALL_RETURN_INT64
 #include <sysdep.h>
diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/posix_fadvise.c b/sysdeps/unix/sysv/linux/x86_64/x32/posix_fadvise.c
index b56b1b9..6e69f17 100644
--- a/sysdeps/unix/sysv/linux/x86_64/x32/posix_fadvise.c
+++ b/sysdeps/unix/sysv/linux/x86_64/x32/posix_fadvise.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2011 Free Software Foundation, Inc.
+/* Copyright (C) 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
@@ -12,9 +12,8 @@
    Lesser General Public License for more details.
 
    You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, write to the Free
-   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-   02111-1307 USA.  */
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
 
 #include <errno.h>
 #include <fcntl.h>
diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/posix_fallocate.c b/sysdeps/unix/sysv/linux/x86_64/x32/posix_fallocate.c
index 80d4de1..de57ce2 100644
--- a/sysdeps/unix/sysv/linux/x86_64/x32/posix_fallocate.c
+++ b/sysdeps/unix/sysv/linux/x86_64/x32/posix_fallocate.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2011 Free Software Foundation, Inc.
+/* Copyright (C) 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
@@ -12,9 +12,8 @@
    Lesser General Public License for more details.
 
    You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, write to the Free
-   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-   02111-1307 USA.  */
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
 
 #include <fcntl.h>
 #include <sysdep.h>
diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/preadv.c b/sysdeps/unix/sysv/linux/x86_64/x32/preadv.c
index 7399dd3..4e250e3 100644
--- a/sysdeps/unix/sysv/linux/x86_64/x32/preadv.c
+++ b/sysdeps/unix/sysv/linux/x86_64/x32/preadv.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2011 Free Software Foundation, Inc.
+/* Copyright (C) 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
@@ -12,9 +12,8 @@
    Lesser General Public License for more details.
 
    You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, write to the Free
-   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-   02111-1307 USA.  */
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
 
 #include <errno.h>
 #include <sysdep.h>
diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/pselect.c b/sysdeps/unix/sysv/linux/x86_64/x32/pselect.c
index 01a0a91..80a1086 100644
--- a/sysdeps/unix/sysv/linux/x86_64/x32/pselect.c
+++ b/sysdeps/unix/sysv/linux/x86_64/x32/pselect.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2011 Free Software Foundation, Inc.
+/* Copyright (C) 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
@@ -12,9 +12,8 @@
    Lesser General Public License for more details.
 
    You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, write to the Free
-   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-   02111-1307 USA.  */
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
 
 #include <errno.h>
 #include <signal.h>
diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/pwritev.c b/sysdeps/unix/sysv/linux/x86_64/x32/pwritev.c
index 5aaa400..3f5feb2 100644
--- a/sysdeps/unix/sysv/linux/x86_64/x32/pwritev.c
+++ b/sysdeps/unix/sysv/linux/x86_64/x32/pwritev.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2011 Free Software Foundation, Inc.
+/* Copyright (C) 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
@@ -12,9 +12,8 @@
    Lesser General Public License for more details.
 
    You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, write to the Free
-   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-   02111-1307 USA.  */
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
 
 #include <errno.h>
 #include <sysdep.h>
diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S b/sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S
index a4040ef..5bd81fe 100644
--- a/sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S
+++ b/sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2011 Free Software Foundation, Inc.
+/* Copyright (C) 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
@@ -12,9 +12,8 @@
    Lesser General Public License for more details.
 
    You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, write to the Free
-   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-   02111-1307 USA.  */
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
 
 #ifdef SHARED
 #include <sysdep.h>
diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h b/sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h
index 15b67b4..0ea7bd8 100644
--- a/sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h
+++ b/sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2011 Free Software Foundation, Inc.
+/* Copyright (C) 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
@@ -12,9 +12,8 @@
    Lesser General Public License for more details.
 
    You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, write to the Free
-   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-   02111-1307 USA.  */
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
 
 #ifndef _LINUX_X32_SYSDEP_H
 #define _LINUX_X32_SYSDEP_H 1
diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/time.c b/sysdeps/unix/sysv/linux/x86_64/x32/time.c
index 086cb01..f17bf84 100644
--- a/sysdeps/unix/sysv/linux/x86_64/x32/time.c
+++ b/sysdeps/unix/sysv/linux/x86_64/x32/time.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2011 Free Software Foundation, Inc.
+/* Copyright (C) 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
@@ -12,9 +12,8 @@
    Lesser General Public License for more details.
 
    You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, write to the Free
-   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-   02111-1307 USA.  */
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
 
 #include <errno.h>
 #include <sysdep.h>
diff --git a/sysdeps/x86_64/x32/dl-machine.h b/sysdeps/x86_64/x32/dl-machine.h
index 2364910..94d3c0b 100644
--- a/sysdeps/x86_64/x32/dl-machine.h
+++ b/sysdeps/x86_64/x32/dl-machine.h
@@ -1,5 +1,5 @@
 /* Machine-dependent ELF dynamic relocation inline functions.  x32 version.
-   Copyright (C) 2011 Free Software Foundation, Inc.
+   Copyright (C) 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
@@ -13,9 +13,8 @@
    Lesser General Public License for more details.
 
    You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, write to the Free
-   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-   02111-1307 USA.  */
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
 
 #include <sysdeps/x86_64/dl-machine.h>
 
diff --git a/sysdeps/x86_64/x32/sysdep.h b/sysdeps/x86_64/x32/sysdep.h
index d8c87d9..7817c29 100644
--- a/sysdeps/x86_64/x32/sysdep.h
+++ b/sysdeps/x86_64/x32/sysdep.h
@@ -1,5 +1,5 @@
 /* Assembler macros for x32.
-   Copyright (C) 2011 Free Software Foundation, Inc.
+   Copyright (C) 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
@@ -13,9 +13,8 @@
    Lesser General Public License for more details.
 
    You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, write to the Free
-   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-   02111-1307 USA.  */
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
 
 #undef LP_SIZE
 #undef LP_OP

http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=bdc7d2dc9c229748df7c5040b6db271569cad002

commit bdc7d2dc9c229748df7c5040b6db271569cad002
Merge: 834ce02 288f909
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Apr 11 13:05:40 2012 -0700

    Merge remote-tracking branch 'origin/master' into hjl/x32/master
    
    Conflicts:
    	bits/typesizes.h
    	sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
    	sysdeps/unix/sysv/linux/s390/bits/typesizes.h
    	sysdeps/unix/sysv/linux/sparc/bits/typesizes.h


http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=834ce02222e85a17df84e9bb0658a6536da7127e

commit 834ce02222e85a17df84e9bb0658a6536da7127e
Merge: bee331e b46068f
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Apr 10 13:06:47 2012 -0700

    Merge remote-tracking branch 'origin/master' into hjl/x32/master


http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=bee331ecd881d4170074b0081e1f23663ee8d1fa

commit bee331ecd881d4170074b0081e1f23663ee8d1fa
Merge: 3239bc5 d715c91
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Apr 10 12:25:40 2012 -0700

    Merge remote-tracking branch 'origin/master' into HEAD


http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=3239bc573e949c5509ceb8aece3c021055dc6978

commit 3239bc573e949c5509ceb8aece3c021055dc6978
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Apr 10 11:42:00 2012 -0700

    Add sysdeps/x86_64/{64,x32}/Implies-after
    
    	* sysdeps/x86_64/64/Implies-after: New file.
    	* sysdeps/x86_64/x32/Implies-after: Likewise.
    
    	* sysdeps/x86_64/common/bits/wordsize.h: Moved to ...
    	* sysdeps/x86_64/bits/wordsize.h: Here.
    
    	* sysdeps/unix/sysv/linux/x86_64/64/Implies: Removed.
    
    	* sysdeps/unix/sysv/linux/x86_64/x32/Implies: Moved to ...
    	* sysdeps/unix/sysv/linux/x86_64/Implies: Here.

diff --git a/ChangeLog.x32 b/ChangeLog.x32
index 5c752b1..7f094b4 100644
--- a/ChangeLog.x32
+++ b/ChangeLog.x32
@@ -1,3 +1,16 @@
+2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* sysdeps/x86_64/64/Implies-after: New file.
+	* sysdeps/x86_64/x32/Implies-after: Likewise.
+
+	* sysdeps/x86_64/common/bits/wordsize.h: Moved to ...
+	* sysdeps/x86_64/bits/wordsize.h: Here.
+
+	* sysdeps/unix/sysv/linux/x86_64/64/Implies: Removed.
+
+	* sysdeps/unix/sysv/linux/x86_64/x32/Implies: Moved to ...
+	* sysdeps/unix/sysv/linux/x86_64/Implies: Here.
+
 2012-03-22  Roland McGrath  <roland@hack.frob.com>
 
 	* configure.in: Support Implies-after.
diff --git a/sysdeps/unix/sysv/linux/x86_64/64/Implies b/sysdeps/unix/sysv/linux/x86_64/Implies
similarity index 100%
rename from sysdeps/unix/sysv/linux/x86_64/64/Implies
rename to sysdeps/unix/sysv/linux/x86_64/Implies
diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/Implies b/sysdeps/unix/sysv/linux/x86_64/x32/Implies
deleted file mode 100644
index 8d91c80..0000000
--- a/sysdeps/unix/sysv/linux/x86_64/x32/Implies
+++ /dev/null
@@ -1 +0,0 @@
-unix/sysv/linux/wordsize-64
diff --git a/sysdeps/x86_64/64/Implies b/sysdeps/x86_64/64/Implies
deleted file mode 100644
index 32b79f2..0000000
--- a/sysdeps/x86_64/64/Implies
+++ /dev/null
@@ -1,7 +0,0 @@
-x86_64/common
-x86_64/fpu
-wordsize-64
-ieee754/ldbl-96
-ieee754/dbl-64/wordsize-64
-ieee754/dbl-64
-ieee754/flt-32
diff --git a/sysdeps/x86_64/64/Implies-after b/sysdeps/x86_64/64/Implies-after
new file mode 100644
index 0000000..a8cae95
--- /dev/null
+++ b/sysdeps/x86_64/64/Implies-after
@@ -0,0 +1 @@
+wordsize-64
diff --git a/sysdeps/x86_64/Implies b/sysdeps/x86_64/Implies
new file mode 100644
index 0000000..c8d7d2d
--- /dev/null
+++ b/sysdeps/x86_64/Implies
@@ -0,0 +1,4 @@
+ieee754/ldbl-96
+ieee754/dbl-64/wordsize-64
+ieee754/dbl-64
+ieee754/flt-32
diff --git a/sysdeps/x86_64/common/bits/wordsize.h b/sysdeps/x86_64/bits/wordsize.h
similarity index 100%
rename from sysdeps/x86_64/common/bits/wordsize.h
rename to sysdeps/x86_64/bits/wordsize.h
diff --git a/sysdeps/x86_64/x32/Implies b/sysdeps/x86_64/x32/Implies
deleted file mode 100644
index 74d79c5..0000000
--- a/sysdeps/x86_64/x32/Implies
+++ /dev/null
@@ -1,7 +0,0 @@
-x86_64/common
-x86_64/fpu
-wordsize-32
-ieee754/ldbl-96
-ieee754/dbl-64/wordsize-64
-ieee754/dbl-64
-ieee754/flt-32
diff --git a/sysdeps/x86_64/x32/Implies-after b/sysdeps/x86_64/x32/Implies-after
new file mode 100644
index 0000000..39a34c5
--- /dev/null
+++ b/sysdeps/x86_64/x32/Implies-after
@@ -0,0 +1 @@
+wordsize-32

http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=681f58bcceb89bba443fcc8a3e3c5978a433ce70

commit 681f58bcceb89bba443fcc8a3e3c5978a433ce70
Author: Roland McGrath <roland@hack.frob.com>
Date:   Tue Apr 10 11:35:49 2012 -0700

    Support Implies-after

diff --git a/ChangeLog.x32 b/ChangeLog.x32
index 9cf6b29..5c752b1 100644
--- a/ChangeLog.x32
+++ b/ChangeLog.x32
@@ -1,3 +1,8 @@
+2012-03-22  Roland McGrath  <roland@hack.frob.com>
+
+	* configure.in: Support Implies-after.
+	* configure: Regenerated.
+
 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
 
 	* sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
diff --git a/configure b/configure
index 9b55417..becd89e 100755
--- a/configure
+++ b/configure
@@ -4332,14 +4332,16 @@ while test $# -gt 0; do
   test -n "$enable_debug_configure" &&
   echo "DEBUG: name/Implies $xsrcdir$name/Implies" >&2
 
-  if test -f $xsrcdir$name/Implies; then
+  for implies_file in Implies Implies-after; do
+    implies_type=`echo $implies_file | sed s/-/_/`
+    eval ${implies_type}=
+    if test -f $xsrcdir$name/$implies_file; then
     # Collect more names from the `Implies' file (removing comments).
-    implied_candidate="`sed 's/#.*$//' < $xsrcdir$name/Implies`"
-    implied=
+      implied_candidate="`sed 's/#.*$//' < $xsrcdir$name/$implies_file`"
     for x in $implied_candidate; do
       found=no
       if test -d $xsrcdir$name_base/$x; then
-	implied="$implied $name_base/$x";
+	  eval "${implies_type}=\"\$${implies_type} \$name_base/\$x\""
 	found=yes
       fi
       for d in $add_ons_pfx ''; do
@@ -4349,10 +4351,10 @@ while test $# -gt 0; do
 	 *) try_srcdir=$srcdir/ ;;
 	esac
 	test -n "$enable_debug_configure" &&
-	 echo "DEBUG: $name implied $x try($d) {$try_srcdir}$try" >&2
+	   echo "DEBUG: $name $implies_file $x try($d) {$try_srcdir}$try" >&2
 	if test $try != $xsrcdir$name_base/$x && test -d $try_srcdir$try;
 	then
-	  implied="$implied $try"
+	    eval "${implies_type}=\"\$${implies_type} \$try\""
 	  found=yes
 	  case "$sysnames_add_ons" in
 	  *" $d "*) ;;
@@ -4361,13 +4363,12 @@ while test $# -gt 0; do
 	fi
       done
       if test $found = no; then
-	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $name/Implies specifies nonexistent $x" >&5
-$as_echo "$as_me: WARNING: $name/Implies specifies nonexistent $x" >&2;}
+	  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $name/$implies_file specifies nonexistent $x" >&5
+$as_echo "$as_me: WARNING: $name/$implies_file specifies nonexistent $x" >&2;}
       fi
     done
-  else
-    implied=
   fi
+  done
 
   # Add NAME to the list of names.
   names="$names $name"
@@ -4382,7 +4383,7 @@ $as_echo "$as_me: WARNING: $name/Implies specifies nonexistent $x" >&2;}
   # configuration components; this ensures that for sysv4, unix/common
   # (implied by unix/sysv/sysv4) comes before unix/sysv (in ostry (here $*)
   # after sysv4).
-  sysnames="`echo $implied $* $parent`"
+  sysnames="`echo $Implies $* $parent $Implies_after`"
   test -n "$sysnames" && set $sysnames
 done
 
diff --git a/configure.in b/configure.in
index 16a4803..5ab95a9 100644
--- a/configure.in
+++ b/configure.in
@@ -768,14 +768,16 @@ while test $# -gt 0; do
   test -n "$enable_debug_configure" &&
   echo "[DEBUG]: name/Implies $xsrcdir$name/Implies" >&2
 
-  if test -f $xsrcdir$name/Implies; then
+  for implies_file in Implies Implies-after; do
+    implies_type=`echo $implies_file | sed s/-/_/`
+    eval ${implies_type}=
+    if test -f $xsrcdir$name/$implies_file; then
     # Collect more names from the `Implies' file (removing comments).
-    implied_candidate="`sed 's/#.*$//' < $xsrcdir$name/Implies`"
-    implied=
+      implied_candidate="`sed 's/#.*$//' < $xsrcdir$name/$implies_file`"
     for x in $implied_candidate; do
       found=no
       if test -d $xsrcdir$name_base/$x; then
-	implied="$implied $name_base/$x";
+	  eval "${implies_type}=\"\$${implies_type} \$name_base/\$x\""
 	found=yes
       fi
       for d in $add_ons_pfx ''; do
@@ -785,10 +787,10 @@ while test $# -gt 0; do
 	 *) try_srcdir=$srcdir/ ;;
 	esac
 	test -n "$enable_debug_configure" &&
-	 echo "[DEBUG]: $name implied $x try($d) {$try_srcdir}$try" >&2
+	   echo "[DEBUG]: $name $implies_file $x try($d) {$try_srcdir}$try" >&2
 	if test $try != $xsrcdir$name_base/$x && test -d $try_srcdir$try;
 	then
-	  implied="$implied $try"
+	    eval "${implies_type}=\"\$${implies_type} \$try\""
 	  found=yes
 	  case "$sysnames_add_ons" in
 	  *" $d "*) ;;
@@ -797,12 +799,11 @@ while test $# -gt 0; do
 	fi
       done
       if test $found = no; then
-	AC_MSG_WARN($name/Implies specifies nonexistent $x)
+	  AC_MSG_WARN($name/$implies_file specifies nonexistent $x)
       fi
     done
-  else
-    implied=
   fi
+  done
 
   # Add NAME to the list of names.
   names="$names $name"
@@ -819,7 +820,7 @@ changequote([,])dnl
   # configuration components; this ensures that for sysv4, unix/common
   # (implied by unix/sysv/sysv4) comes before unix/sysv (in ostry (here $*)
   # after sysv4).
-  sysnames="`echo $implied $* $parent`"
+  sysnames="`echo $Implies $* $parent $Implies_after`"
   test -n "$sysnames" && set $sysnames
 done
 

http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=af7eff1170de3f44e746e00d746ff3486c15ead3

commit af7eff1170de3f44e746e00d746ff3486c15ead3
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Apr 10 12:22:41 2012 -0700

    Use __builtin_bswap32/64 in x86_64 <bits/byteswap.h>
    
    	* sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
    	(__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
    	(__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.

diff --git a/ChangeLog.x32 b/ChangeLog.x32
index 0f82d88..9cf6b29 100644
--- a/ChangeLog.x32
+++ b/ChangeLog.x32
@@ -1,3 +1,9 @@
+2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
+	(__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
+	(__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
+
 2012-04-09  H.J. Lu  <hongjiu.lu@intel.com>
 
 	* bits/byteswap.h: Include <features.h>.
diff --git a/sysdeps/x86_64/bits/byteswap.h b/sysdeps/x86_64/bits/byteswap.h
index 09139f6..4178439 100644
--- a/sysdeps/x86_64/bits/byteswap.h
+++ b/sysdeps/x86_64/bits/byteswap.h
@@ -38,21 +38,62 @@
      ((((x) & 0xff000000) >> 24) | (((x) & 0x00ff0000) >>  8) |		      \
       (((x) & 0x0000ff00) <<  8) | (((x) & 0x000000ff) << 24))
 
-#if __GNUC_PREREQ (4,2)
-# define __bswap_32(x)  __builtin_bswap32 (x)
-#else
-# define __bswap_32(x) \
+#ifdef __GNUC__
+# if __GNUC_PREREQ (4, 2)
+static __inline unsigned int
+__bswap_32 (unsigned int __bsx)
+{
+  return __builtin_bswap32 (__bsx);
+}
+# elif __GNUC__ >= 2
+#  if __WORDSIZE == 64 || (defined __i486__ || defined __pentium__	      \
+			   || defined __pentiumpro__ || defined __pentium4__  \
+			   || defined __k8__ || defined __athlon__	      \
+			   || defined __k6__ || defined __nocona__	      \
+			   || defined __core2__ || defined __geode__	      \
+			   || defined __amdfam10__)
+/* To swap the bytes in a word the i486 processors and up provide the
+   `bswap' opcode.  On i386 we have to use three instructions.  */
+#   define __bswap_32(x) \
+      (__extension__							      \
+       ({ register unsigned int __v, __x = (x);				      \
+	  if (__builtin_constant_p (__x))				      \
+	    __v = __bswap_constant_32 (__x);				      \
+	  else								      \
+	    __asm__ ("bswap %0" : "=r" (__v) : "0" (__x));		      \
+	  __v; }))
+#  else
+#   define __bswap_32(x)						      \
+      (__extension__							      \
+       ({ register unsigned int __v, __x = (x);				      \
+	  if (__builtin_constant_p (__x))				      \
+	    __v = __bswap_constant_32 (__x);				      \
+	  else								      \
+	    __asm__ ("rorw $8, %w0;"					      \
+		     "rorl $16, %0;"					      \
+		     "rorw $8, %w0"					      \
+		     : "=r" (__v)					      \
+		     : "0" (__x)					      \
+		     : "cc");						      \
+	  __v; }))
+#  endif
+# else
+#  define __bswap_32(x) \
      (__extension__							      \
       ({ register unsigned int __x = (x); __bswap_constant_32 (__x); }))
+# endif
+#else
+static __inline unsigned int
+__bswap_32 (unsigned int __bsx)
+{
+  return __bswap_constant_32 (__bsx);
+}
 #endif
 
 
-#if defined __GNUC__ && __GNUC__ >= 2
+#if __GNUC_PREREQ (2, 0)
 /* Swap bytes in 64 bit value.  */
-# if __GNUC_PREREQ (4,2)
-#  define __bswap_64(x)  __builtin_bswap64 (x)
-# else
-#  define __bswap_constant_64(x) \
+# define __bswap_constant_64(x) \
      (__extension__ ((((x) & 0xff00000000000000ull) >> 56)		      \
 		     | (((x) & 0x00ff000000000000ull) >> 40)		      \
 		     | (((x) & 0x0000ff0000000000ull) >> 24)		      \
@@ -62,8 +103,14 @@
 		     | (((x) & 0x000000000000ff00ull) << 40)		      \
 		     | (((x) & 0x00000000000000ffull) << 56)))
 
-#  if __WORDSIZE == 64
-#   define __bswap_64(x) \
+# if __GNUC_PREREQ (4, 2)
+static __inline unsigned long long int
+__bswap_64 (unsigned long long int __bsx)
+{
+  return __builtin_bswap64 (__bsx);
+}
+# elif __WORDSIZE == 64
+#  define __bswap_64(x) \
      (__extension__							      \
       ({ register unsigned long __v, __x = (x);				      \
 	 if (__builtin_constant_p (__x))				      \
@@ -71,8 +118,8 @@
 	 else								      \
 	   __asm__ ("bswap %q0" : "=r" (__v) : "0" (__x));		      \
 	 __v; }))
-#  else
-#   define __bswap_64(x) \
+# else
+#  define __bswap_64(x) \
      (__extension__                                                           \
       ({ union { __extension__ unsigned long long int __ll;                   \
 		 unsigned int __l[2]; } __w, __r;                             \
@@ -85,7 +132,6 @@
 	     __r.__l[1] = __bswap_32 (__w.__l[0]);                            \
 	   }                                                                  \
 	 __r.__ll; }))
-#  endif
 # endif
 #elif __GLIBC_HAVE_LONG_LONG
 # define __bswap_constant_64(x) \

http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=a73d12ef0b07a66e3bb5bfd00859d453123fa1c0

commit a73d12ef0b07a66e3bb5bfd00859d453123fa1c0
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Apr 9 12:49:47 2012 -0700

    Use __builtin_bswap32/64 for GCC >= 4.2
    
    2012-04-09  H.J. Lu  <hongjiu.lu@intel.com>
    
    	* bits/byteswap.h: Include <features.h>.
    	(__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
    	(__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.

diff --git a/ChangeLog.x32 b/ChangeLog.x32
index 781ac05..0f82d88 100644
--- a/ChangeLog.x32
+++ b/ChangeLog.x32
@@ -1,3 +1,9 @@
+2012-04-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* bits/byteswap.h: Include <features.h>.
+	(__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
+	(__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
+
 2012-04-03  H.J. Lu  <hongjiu.lu@intel.com>
 
 	* sysdeps/i386/bits/byteswap.h: Don't include <features.h>.
diff --git a/bits/byteswap.h b/bits/byteswap.h
index 6e3ed3f..d818293 100644
--- a/bits/byteswap.h
+++ b/bits/byteswap.h
@@ -23,6 +23,8 @@
 #ifndef _BITS_BYTESWAP_H
 #define _BITS_BYTESWAP_H 1
 
+#include <features.h>
+
 /* Swap bytes in 16 bit value.  */
 #define __bswap_constant_16(x) \
      ((((x) >> 8) & 0xffu) | (((x) & 0xffu) << 8))
@@ -36,9 +38,17 @@
       (((x) & 0x0000ff00u) <<  8) | (((x) & 0x000000ffu) << 24))
 
 #ifdef __GNUC__
-# define __bswap_32(x) \
+# if __GNUC_PREREQ (4, 2)
+static __inline unsigned int
+__bswap_32 (unsigned int __bsx)
+{
+  return __builtin_bswap32 (__bsx);
+}
+# else
+#  define __bswap_32(x) \
   (__extension__							      \
    ({ register unsigned int __bsx = (x); __bswap_constant_32 (__bsx); }))
+# endif
 #else
 static __inline unsigned int
 __bswap_32 (unsigned int __bsx)
@@ -47,8 +57,8 @@ __bswap_32 (unsigned int __bsx)
 }
 #endif
 
-#if defined __GNUC__ && __GNUC__ >= 2
 /* Swap bytes in 64 bit value.  */
+#if __GNUC_PREREQ (2, 0)
 # define __bswap_constant_64(x) \
      (__extension__ ((((x) & 0xff00000000000000ull) >> 56)		      \
 		     | (((x) & 0x00ff000000000000ull) >> 40)		      \
@@ -59,7 +69,14 @@ __bswap_32 (unsigned int __bsx)
 		     | (((x) & 0x000000000000ff00ull) << 40)		      \
 		     | (((x) & 0x00000000000000ffull) << 56)))
 
-# define __bswap_64(x) \
+# if __GNUC_PREREQ (4, 2)
+static __inline unsigned long long int
+__bswap_64 (unsigned long long int __bsx)
+{
+  return __builtin_bswap64 (__bsx);
+}
+# else
+#  define __bswap_64(x) \
      (__extension__							      \
       ({ union { __extension__ unsigned long long int __ll;		      \
 		 unsigned int __l[2]; } __w, __r;			      \
@@ -72,6 +89,7 @@ __bswap_32 (unsigned int __bsx)
 	     __r.__l[1] = __bswap_32 (__w.__l[0]);			      \
 	   }								      \
 	 __r.__ll; }))
+# endif
 #elif __GLIBC_HAVE_LONG_LONG
 # define __bswap_constant_64(x) \
      ((((x) & 0xff00000000000000ull) >> 56)				      \

http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=0b592f2018cac94d6c4b34eb876cda82ecbcb14a

commit 0b592f2018cac94d6c4b34eb876cda82ecbcb14a
Merge: 5f58bed c0ed9d7
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Apr 9 12:41:27 2012 -0700

    Merge remote-tracking branch 'origin/master' into hjl/x32/master


http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=5f58bed58e916f651d2d89beffae86843ead424c

commit 5f58bed58e916f651d2d89beffae86843ead424c
Merge: 7149c53 67f60a2
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Apr 3 18:17:09 2012 -0700

    Merge remote-tracking branch 'origin/master' into hjl/x32/master
    
    Conflicts:
    	sysdeps/i386/bits/byteswap.h
    
    Don't use __builtin_bswap32 nor __builtin_bswap64.

diff --cc ChangeLog.x32
index a744bc1,0000000..781ac05
mode 100644,000000..100644
--- a/ChangeLog.x32
+++ b/ChangeLog.x32
@@@ -1,1009 -1,0 +1,1015 @@@
++2012-04-03  H.J. Lu  <hongjiu.lu@intel.com>
++
++	* sysdeps/i386/bits/byteswap.h: Don't include <features.h>.
++	(__bswap_32): Don't use __builtin_bswap32.
++	(__bswap_64): Don't use __builtin_bswap64.
++
 +2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
 +	to pad to uint64_t for each field.
 +	(dl_tls_index): Replace unsigned long long with uint64_t.
 +
 +2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/x86_64/dl-machine.h: Replace ELF32_R_TYPE with
 +	ELFW(R_TYPE).
 +
 +2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/x86_64/64/bits/wordsize.h: Moved to ...
 +	* sysdeps/x86_64/common/bits/wordsize.h: Here.
 +
 +	* sysdeps/x86_64/64/Implies: Add x86_64/common.
 +	* sysdeps/x86_64/x32/Implies: Likewise.
 +
 +	* sysdeps/x86_64/x32/bits/wordsize.h: Removed.
 +
 +2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* include/link.h (ELFW): New macro.
 +	* sysdeps/x86_64/dl-irel.h (elf_irela): Replace ELF64_R_TYPE
 +	with ELFW(R_TYPE).
 +
 +2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
 +	long with uint64_t.
 +
 +2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/x86_64/preconfigure.in: New file.
 +	* sysdeps/unix/sysv/linux/x86_64/x32/configure.in: Likewise.
 +
 +	* sysdeps/x86_64/preconfigure: New generated file.
 +	* sysdeps/unix/sysv/linux/x86_64/x32/configure: Likewise.
 +
 +2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
 +	declaration.
 +	(struct La_x32_retval): Likewise.
 +
 +2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* elf/tst-auditmod1.c: Use La_x32_regs and La_x32_retval.
 +	* elf/tst-auditmod3b.c: Likewise.
 +	* elf/tst-auditmod4b.c: Likewise.
 +	* elf/tst-auditmod5b.c: Likewise.
 +	* elf/tst-auditmod6b.c: Likewise.
 +	* elf/tst-auditmod6c.c: Likewise.
 +	* elf/tst-auditmod7b.c: Likewise.
 +	* sysdeps/generic/ldsodefs.h: Likewise.
 +
 +	* sysdeps/x86_64/bits/link.h (La_x32_regs): New macro.
 +	(La_x32_retval): Likewise.
 +	(la_x32_gnu_pltenter): Use La_x32_regs.
 +	(la_x32_gnu_pltexit): Use La_x32_regs and La_x32_retval.
 +
 +2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
 +	_ITOWA_NEEDED.
 +
 +	* stdio-common/_itowa.h: Include <_itoa.h> instead of <limits.h>.
 +	(_ITOWA_NEEDED): Removed.
 +	(_ITOWA_WORD_TYPE): Likewise.
 +	(_itowa_word): Replace _ITOWA_WORD_TYPE with _ITOA_WORD_TYPE.
 +	(_itowa): Check _ITOA_NEEDED instead of _ITOWA_NEEDED.
 +
 +	* sysdeps/generic/_itoa.h: Update comments.
 +
 +	* sysdeps/x86_64/x32/_itowa.h: Removed.
 +
 +2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/unix/sysv/linux/configure.in: Don't set
 +	arch_minimum_kernel for x32.  Check x86_64* instead of x86_64/64
 +	for libc_cv_slibdir and libc_cv_localedir.
 +	* sysdeps/unix/sysv/linux/configure: Regenerated.
 +
 +2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* stdio-common/_itowa.h: Update comments.
 +	* sysdeps/generic/_itoa.h: Likewise.
 +
 +2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* debug/backtracesymsfd.c: Include <_itoa.h> instead of
 +	<stdio-common/_itoa.h>.
 +	* debug/segfault.c: Likewise.
 +	* elf/dl-cache.c: Likewise.
 +	* elf/dl-minimal.c: Likewise.
 +	* elf/dl-misc.c: Likewise.
 +	* elf/dl-sysdep.c: Likewise.
 +	* elf/dl-version.c: Likewise.
 +	* elf/rtld.c: Likewise.
 +	* hurd/hurdsock.c: Likewise.
 +	* hurd/lookup-retry.c: Likewise.
 +	* malloc/malloc.c: Likewise.
 +	* malloc/mtrace.c: Likewise.
 +	* nscd/nscd_getgr_r.c: Likewise.
 +	* nscd/nscd_getpw_r.c: Likewise.
 +	* nscd/nscd_getserv_r.c: Likewise.
 +	* posix/getopt_init.c: Likewise.
 +	* posix/wordexp.c: Likewise.
 +	* stdio-common/_itoa.c: Likewise.
 +	* stdio-common/printf_fphex.c: Likewise.
 +	* stdio-common/vfprintf.c: Likewise.
 +	* string/_strerror.c: Likewise.
 +	* sysdeps/generic/elf/backtracesymsfd.c: Likewise.
 +	* sysdeps/i386/i686/hp-timing.h: Likewise.
 +	* sysdeps/mach/_strerror.c: Likewise.
 +	* sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
 +	* sysdeps/mach/hurd/sethostid.c: Likewise.
 +	* sysdeps/mach/hurd/xmknodat.c: Likewise.
 +	* sysdeps/mach/xpg-strerror.c: Likewise.
 +	* sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
 +	* sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
 +	* sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
 +	* sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
 +	* sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
 +	* sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
 +	* sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
 +	* sysdeps/sparc/sparc64/hp-timing.h: Likewise.
 +	* sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
 +	* sysdeps/unix/sysv/linux/futimes.c: Likewise.
 +	* sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
 +	* sysdeps/unix/sysv/linux/ptsname.c: Likewise.
 +	* sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
 +	* sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
 +	* sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
 +	* sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
 +	* sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
 +	* sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
 +	* sysdeps/unix/sysv/linux/ttyname.c: Likewise.
 +	* sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
 +
 +	* stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
 +	Check _ITOA_NEEDED instead of LLONG_MAX != LONG_MAX.
 +	(_itoa_word): Use _ITOA_WORD_TYPE on value.
 +	(_fitoa_word): Likewise.
 +
 +	* stdio-common/_itoa.h: Moved to ...
 +	* sysdeps/generic/_itoa.h: Here.
 +	(_ITOA_NEEDED): New macro. Defined only if not defined.
 +	(_ITOA_WORD_TYPE): Likewise.
 +	(_itoa_word): Use _ITOA_WORD_TYPE on value.
 +	Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
 +
 +	* stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
 +	Check _ITOWA_NEEDED instead of LLONG_MAX != LONG_MAX.
 +
 +	* stdio-common/_itowa.h: Include <limits.h>.
 +	(_ITOWA_NEEDED): New macro. Defined only if not defined.
 +	(_ITOWA_WORD_TYPE): Likewise.
 +	(_itowa_word): Use _ITOA_WORD_TYPE on value.
 +	(_itowa): New macro.  Defined only if _ITOWA_NEEDED is false.
 +
 +	* stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
 +	instead of "_itoa.h" and "_itowa.h".
 +	* stdio-common/vfprintf.: Likewise.
 +
 +	* sysdeps/x86_64/x32/gmp-mparam.h (PREFER_LONG_LONG): Removed.
 +
 +	* sysdeps/x86_64/x32/_itoa.h: New file.
 +	* sysdeps/x86_64/x32/_itowa.h: Likewise.
 +
 +2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/x86_64/bits/setjmp.h: Include <bits/wordsize.h>.
 +	(__jmp_buf): Use long long int for x32.
 +
 +2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/i386/bits/byteswap.h: Include <features.h>.
 +	(__bswap_32): Use __builtin_bswap32 if GCC >= 4.2.
 +	(__bswap_64): Use __builtin_bswap64 if GCC >= 4.2.
 +
 +	* sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
 +	(__bswap_32): Use __builtin_bswap32 if GCC >= 4.2.
 +	(__bswap_64): Use __builtin_bswap64 if GCC >= 4.2.
 +
 +2012-03-17  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/x86_64/bits/byteswap.h: Include <bits/wordsize.h>.
 +	Don't check __corei7__.
 +	(__bswap_64): Replace unsigned long long int with
 +	__bswap_64_uint64.
 +
 +2012-03-17  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/x86_64/64/bits/wordsize.h (__GNUC_PREREQ): Removed.
 +	(__WORDSIZE): Check __GNUC__ directly.
 +	* sysdeps/x86_64/x32/bits/wordsize.h: Likewise.
 +
 +2012-03-17  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/x86_64/sysdep.h (MOVE_LP): Removed.
 +	(ADD_LP): Likewise.
 +	(SUB_LP): Likewise.
 +	(CMP_LP): Likewise.
 +	(LP_OP): New.
 +
 +	* sysdeps/x86_64/x32/sysdep.h (MOVE_LP): Removed.
 +	(ADD_LP): Likewise.
 +	(SUB_LP): Likewise.
 +	(CMP_LP): Likewise.
 +	(LP_OP): New.
 +
 +2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Use
 +	$2*LP_SIZE+1 instead of $17.
 +	(PTR_DEMANGLE): Likewise.
 +
 +2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* bits/types.h (__syscall_slong_t): New type.
 +	(__syscall_ulong_t): Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/bits/ipc.h: Replace
 +	__USYSCALL_LONG_TYPE/__USYSCALL_LONG_TYPE with
 +	__syscall_slong_t/__syscall_ulong_t.
 +	* sysdeps/unix/sysv/linux/x86_64/bits/mqueue.h: Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/bits/mqueue.h: Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/bits/msq.: Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/bits/statfs.h: Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/bits/timex.h: Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/sys/msg.h: Likewise.
 +
 +	* bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
 +	(__SYSCALL_ULONG_TYPE): Likewise.
 +	* sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
 +	(__SYSCALL_SLONG_TYPE): Likewise.
 +	(__SYSCALL_ULONG_TYPE): Likewise.
 +	* sysdeps/unix/sysv/linux/s390/bits/typesizes.h
 +	(__SYSCALL_SLONG_TYPE): Likewise.
 +	(__SYSCALL_ULONG_TYPE): Likewise.
 +	* sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
 +	(__SYSCALL_SLONG_TYPE): Likewise.
 +	(__SYSCALL_ULONG_TYPE): Likewise.
 +
 +	* sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
 +	(__SSYSCALL_LONG_TYPE): Renamed to ...
 +	(__SYSCALL_SLONG_TYPE): This.
 +	(__SSYSCALL_LONG_TYPE): Renamed to ...
 +	(__SYSCALL_ULONG_TYPE): This.
 +
 +2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
 +	Move e_machine check before EI_CLASS check.  Check EM_IA_64 only
 +	if SKIP_EM_IA_64 isn't defined.
 +	* sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
 +	SKIP_EM_IA_64 and include <sysdeps/unix/sysv/linux/i386/readelflib.c>.
 +
 +2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
 +	Use greg_t instead of unsigned long long int and long long int.
 +
 +2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/unix/sysv/linux/x86_64/sysdep.h
 +	(VSYSCALL_ADDR_vgettimeofday): Removed.
 +	(VSYSCALL_ADDR_vtime): Likewise.
 +	(VSYSCALL_ADDR_vgetcpu): Likewise.
 +
 +	* sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
 +	(VSYSCALL_ADDR_vgettimeofday): Restored.
 +	* sysdeps/unix/sysv/linux/x86_64/init-first.c
 +	(VSYSCALL_ADDR_vgetcpu): Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S
 +	(VSYSCALL_ADDR_vgetcpu): Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/time.c (VSYSCALL_ADDR_vtime):
 +	Likewise.
 +
 +2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Include
 +	<bits/wordsize.h>.
 +	(sigcontext): Check __WORDSIZE instead of __LP64__.
 +
 +	* sysdeps/unix/sysv/linux/x86_64/sys/user.h: Include
 +	<bits/wordsize.h>.
 +	(user): Check __WORDSIZE instead of __LP64__.
 +
 +2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/x86_64/64/bits/wordsize.h (__GNUC_PREREQ): New macro
 +	if not defined.
 +	(__WORDSIZE): Defined to 64 for GCC older than GCC 3.3 if
 +	__x86_64__ is defined.
 +	(__WORDSIZE_COMPAT32): Restored.
 +	* sysdeps/x86_64/x32/bits/wordsize.h: Likewise.
 +
 +2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* Makefile ($(inst_includedir)/gnu/stubs.h): Replace
 +	include/stubs-biarch.h with stubs-biarch.h.
 +
 +	* config.make.in (stubs-biarch_h): Removed.
 +
 +	* configure.in (stubs_biarch_h): Don't substitute.
 +	* configure: Regenerated.
 +
 +	* include/stubs-biarch.h: Moved to ...
 +	* sysdeps/generic/stubs-biarch.h: Here.
 +
 +	* sysdeps/x86_64/preconfigure: Don't set stubs_biarch_h.
 +
 +2012-03-15  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* configure.in: Source preconfigure befor add-ons.
 +	* configure: Regenerated.
 +
 +	* sysdeps/x86_64/preconfigure: Check $machine and set
 +	base_machine if $base_machine isn't defined.
 +
 +2012-03-15  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
 +
 +2012-03-15  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* time/mktime.c: Sync with gnulib mktime.c at commit
 +	a7967a2cf0998b6c157c7cf8e1d8d9d11dab30b0.
 +
 +2012-03-15  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* Makefile (data-machine): Removed.
 +	(check-data): Updated.
 +
 +	* config.make.in (data-machine): Removed.
 +
 +	* configure.in (data_machine): Don't substitute.
 +	* configure: Regenerated.
 +
 +	* sysdeps/x86_64/preconfigure: Don't set data_machine.
 +
 +	* sysdeps/x86_64/x32/shlib-version: Add ABI.
 +
 +2012-03-15  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Updated from
 +	master.
 +
 +2012-03-15  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
 +	Replace getcpu with __vdso_getcpu.
 +
 +	* sysdeps/unix/sysv/linux/x86_64/x32/gettimeofday.c
 +	(gettimeofday_ifunc): Replace gettimeofday with
 +	__vdso_gettimeofday.
 +
 +	* sysdeps/unix/sysv/linux/x86_64/x32/init-first.c
 +	(_libc_vdso_platform_setup): Replace clock_gettime with
 +	__vdso_clock_gettime.
 +
 +	* sysdeps/unix/sysv/linux/x86_64/x32/time.c (time_ifunc): Replace
 +	time with __vdso_time.
 +
 +2012-03-15  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/unix/sysv/linux/x86_64/sys/msg.h (msgbuf): Replace
 +	__SNATIVE_LONG_TYPE with __SSYSCALL_LONG_TYPE.
 +
 +2012-03-14  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New.
 +
 +2012-03-14  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Replace
 +	__SNATIVE_LONG_TYPE and __UNATIVE_LONG_TYPE with
 +	__SSYSCALL_LONG_TYPE and __USYSCALL_LONG_TYPE.
 +
 +	* sysdeps/unix/sysv/linux/x86_64/bits/ipc.h: Updated.
 +	* sysdeps/unix/sysv/linux/x86_64/bits/mqueue.h: Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/bits/statfs.h: Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/bits/timex.h: Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Likewise.
 +
 +2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* scripts/data/c++-types-x32-linux-gnu.data: Update clock_t.
 +
 +	* sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__CLOCK_T_TYPE):
 +	Set to __SQUAD_TYPE for x32.
 +
 +2012-03-01  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h (ucontext): Restore
 +	unsigned long int on uc_flags.
 +
 +2012-02-25  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
 +	the `q' suffix from xor/rol instructions.
 +	(PTR_DEMANGLE): Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h (PTR_MANGLE): Removed.
 +	(PTR_DEMANGLE): Likewise.
 +
 +2012-01-09  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
 +	multiple of MALLOC_ALIGNMENT in size.
 +	(_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
 +
 +2012-01-02  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* config.make.in (use-default-syscall-macros): Removed.
 +	* configure.in (use_default_syscall_macros): Likewise.
 +	* configure: Regenerated.
 +
 +	* sysdeps/unix/sysv/linux/Makefile: Don't check
 +	use-default-syscall-macros.
 +
 +	* sysdeps/unix/sysv/linux/x86_64/Makefile
 +	(syscall-list-64bit-options): Add -D__LP64__.
 +
 +	* sysdeps/x86_64/preconfigure: Don't set use_default_syscall_macros.
 +
 +2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	PR libc/12495
 +	* malloc/malloc.c (sYSMALLOc): Don't update correction with
 +	front_misalign.
 +
 +2007-11-30  Daniel Jacobowitz  <dan@codesourcery.com>
 +
 +	PR libc/12495
 +	* malloc/malloc.c (MALLOC_ALIGNMENT): Use __alignof__ (long double).
 +	(SMALLBIN_CORRECTION): New.
 +	(MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
 +	(largebin_index_32_big): New.
 +	(largebin_index): Use it for 16-byte alignment.
 +	(sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.
 +
 +2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* stdio-common/_itoa.c (_itoa_base_table): Don't define if
 +	PREFER_LONG_LONG is defined.
 +	(_itoa): Use long long if PREFER_LONG_LONG is defined.
 +	* stdio-common/_itowa.c (_itowa): Likewise.
 +
 +2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/x86_64/x32/dl-machine.h: New.
 +
 +2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/x86_64/x32/Makefile: New.
 +
 +2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/x86_64/x32/divdi3.c: New.
 +	* sysdeps/x86_64/x32/ffs.c: Likewise.
 +	* sysdeps/x86_64/x32/gmp-mparam.h: Likewise.
 +	* sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
 +
 +2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
 +	(stackinfo_sub_sp): Likewise.
 +
 +2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
 +	la_x32_gnu_pltexit.
 +	(pltexit): Cast int_retval to ptrdiff_t.
 +	* elf/tst-auditmod3b.c: Likewise.
 +	* elf/tst-auditmod4b.c: Likewise.
 +	* elf/tst-auditmod5b.c: Likewise.
 +	* elf/tst-auditmod6b.c: Likewise.
 +	* elf/tst-auditmod6c.c: Likewise.
 +	* elf/tst-auditmod7b.c: Likewise.
 +
 +	* sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
 +	and x32_gnu_pltexit.
 +
 +	* sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
 +	__ELF_NATIVE_CLASS.
 +	(la_x32_gnu_pltenter): New.
 +	(la_x32_gnu_pltexit): Likewise.
 +
 +2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX).
 +	Replace ELF64_R_TYPE with ELF32_R_TYPE.
 +	(elf_machine_load_address): Use ASM_ADDR.
 +	(elf_machine_rela): Handle R_X86_64_RELATIVE64 for x32.  For x32,
 +	sign extend relocation result to 64bit for R_X86_64_DTPOFF64
 +	and R_X86_64_TPOFF64, and don't process R_X86_64_64.
 +
 +2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
 +	Replace ELF64_R_TYPE with ELF32_R_TYPE.
 +
 +2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace long with
 +	long long.
 +
 +2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Pad for x32.
 +	(dl_tls_index): Replace long with long long.
 +
 +2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
 +	is 32byte aligned.
 +
 +2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
 +	<bits/wordsize.h>.
 +	(__signbitf): Check __x86_64__ instead of __WORDSIZE.
 +	(__signbit): Likwise.
 +	(lrintf): Likwise.
 +	(lrint): Likwise.
 +	(llrintf): Likwise.
 +	(llrint): Likwise.
 +	(fmaxf): Likwise.
 +	(fmax): Likwise.
 +	(fminf): Likwise.
 +	(fmin): Likwise.
 +
 +2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
 +	long long int instead of long int.
 +	(INSERT_WORDS64): Likwise.
 +	(__isnan): Likwise.
 +	(__isinf_ns): Likewise.
 +	(__finite): Likewise.
 +
 +2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
 +	_Unwind_GetCFA return to _Unwind_Ptr first.
 +
 +2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
 +	Check __x86_64__ instead of __WORDSIZE.
 +	* sysdeps/x86_64/bits/setjmp.h: Likewise.
 +	* sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
 +
 +2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/x86_64/bits/byteswap.h: Don't include
 +	<bits/wordsize.h>.
 +	(__bswap_32): Check __x86_64__ instead of __WORDSIZE.  Also
 +	check __corei7__.
 +	(__bswap_64): Check __x86_64__ instead of __WORDSIZE.
 +
 +2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/x86_64/bits/atomic.h (__arch_compare_and_exchange_val_64_acq):
 +	Use long long on 64bit integer.
 +	(__arch_c_compare_and_exchange_val_64_acq): Likewise.
 +	(atomic_exchange_acq): Likewise.
 +	(__arch_exchange_and_add_body): Likewise.
 +	(__arch_add_body): Likewise.
 +	(atomic_add_negative): Likewise.
 +	(atomic_add_zero): Likewise.
 +
 +2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/x86_64/multiarch/strcmp-sse42.S: Use RXX_LP.
 +
 +2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/x86_64/multiarch/memcpy-ssse3.S: Use RXX_LP.
 +
 +2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RXX_LP.
 +
 +2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/x86_64/multiarch/memcmp-sse4.S: Use RXX_LP.
 +
 +2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* x86_64/dl-trampoline.h: Use R10_LP to load frame size.
 +
 +2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/x86_64/strcmp.S: Use RXX_LP.
 +
 +2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/x86_64/memcpy.S: Use RXX_LP.
 +
 +2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/x86_64/elf/start.S: Include <sysdep.h>.  Simulate
 +	popping 4byte argument count for x32.  Use RXX_LP.
 +
 +2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/x86_64/__longjmp.S: Use RXX_LP.
 +	* sysdeps/x86_64/setjmp.S: Likewise.
 +
 +2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/unix/sysv/linux/x86_64/x32/sysctl.c: New.
 +
 +2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/unix/sysv/linux/x86_64/x32/sendfile64.c: New.
 +
 +2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/unix/sysv/linux/x86_64/x32/pselect.c: New.
 +
 +2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New.
 +
 +2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
 +
 +2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/unix/sysv/linux/x86_64/x32/getdents.c: New.
 +	* sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
 +
 +2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/unix/sysv/linux/x86_64/x32/gettimeofday.c: New.
 +	* sysdeps/unix/sysv/linux/x86_64/x32/time.c: Likewise.
 +
 +2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/unix/sysv/linux/x86_64/x32/preadv.c: New.
 +	* sysdeps/unix/sysv/linux/x86_64/x32/pwritev.c: Likewise.
 +
 +2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New.
 +	* sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
 +	Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
 +
 +2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/unix/sysv/linux/x86_64/x32/fallocate.c: New.
 +	* sysdeps/unix/sysv/linux/x86_64/x32/posix_fadvise.c: Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/x32/posix_fallocate.c: Likewise.
 +
 +2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New.
 +	* sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
 +
 +2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
 +
 +2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
 +	8byte data alignment with LP_SIZE alignment.
 +
 +2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
 +	into R10_LP.
 +
 +2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
 +	Add sigaltstack.sym.
 +
 +	* sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
 +	"sigaltstack.h".
 +	(____longjmp_chk): Use RXX_LP, sizeSS, oSS_FLAGS, oSS_SP and
 +	oSS_SIZE for alternate signal stack.
 +
 +	* sysdeps/unix/sysv/linux/x86_64/sigaltstack.sym: New.
 +
 +2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
 +	Use "unsigned long long int" instead of "unsigned long int".
 +
 +2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
 +	<stdint.h>.
 +	(GET_PC): Cast to uintptr_t first.
 +	(GET_FRAME): Likewise.
 +	(GET_STACK): Likewise.
 +
 +	* sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
 +	<bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
 +	(DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
 +
 +	* sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
 +	"unsigned long long int" if __x86_64__ is defined.
 +	Check __x86_64__ instead of __WORDSIZE.
 +	(elf_prstatus): Use "unsigned long long int" instead of
 +	"unsigned long int" if __x86_64__ is defined.
 +
 +	* sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
 +	include <bits/wordsize.h>.  Check __x86_64__ instead of
 +	__WORDSIZE.
 +
 +	* sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
 +	include <bits/wordsize.h>.  Check __x86_64__ instead of
 +	__WORDSIZE.
 +	(greg_t): Use "long long int" if __x86_64__ is defined.
 +	(mcontext_t): Replace "unsigned long" with "unsigned long long".
 +	(ucontext_t): Likewise.
 +
 +	* sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
 +	include <bits/wordsize.h>.  Check __x86_64__ instead of
 +	__WORDSIZE.
 +	(user_regs_struct): Use "unsigned long long" instead of
 +	"unsigned long" if __x86_64__ is defined.
 +	(user): Likewise.  Pad if __LP64__ isn't defined.
 +
 +2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/unix/sysv/linux/x86_64/sys/msg.h: New.
 +
 +2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
 +
 +2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/x86_64/bits/wordsize.h: Moved to ...
 +	* sysdeps/x86_64/64/bits/wordsize.h: Here.
 +	(__WORDSIZE_COMPAT32): Removed.
 +
 +	* sysdeps/x86_64/x32/bits/wordsize.h: New.
 +
 +2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/unix/sysv/linux/x86_64/Implies: Moved to ...
 +	* sysdeps/unix/sysv/linux/x86_64/64/Implies: Here. 
 +
 +	* sysdeps/x86_64/Implies: Moved to ...
 +	* sysdeps/x86_64/64/Implies: Here.  Prepend x86_64/fpu.
 +
 +	* sysdeps/unix/sysv/linux/x86_64/x32/Implies: New.
 +	* sysdeps/x86_64/x32/Implies: Likewise.
 +
 +2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
 +	<bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
 +	* sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
 +
 +	* sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
 +	<bits/wordsize.h>.
 +	(msgqnum_t): Use __UNATIVE_LONG_TYPE.
 +	(msglen_t): Likewise.
 +	(msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
 +	__UNATIVE_LONG_TYPE.
 +
 +	* sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
 +	__UNATIVE_LONG_TYPE.
 +
 +	* sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
 +	__UNATIVE_LONG_TYPE.
 +	(shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
 +	defined.  Use __UNATIVE_LONG_TYPE.
 +	(shminfo): Use __UNATIVE_LONG_TYPE.
 +	(shm_info): Likewise.
 +
 +	* sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
 +	include <bits/wordsize.h>.  Check __x86_64__ instead of
 +	__WORDSIZE.
 +	(sigcontext): Use "unsigned long long int" instead of
 +	"unsigned long int" if __x86_64__ is defined.  Pad if __LP64__
 +	isn't defined.
 +
 +	* sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
 +	Check __x86_64__ instead of __WORDSIZE.
 +	(_STAT_VER_LINUX): Likewise.
 +	(stat): Check __x86_64__ instead of __WORDSIZE.  Use
 +	__UNATIVE_LONG_TYPE.
 +	(stat64): Likewise.
 +
 +	* sysdeps/unix/sysv/linux/x86_64/bits/ipc.h: New.
 +	* sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/bits/mqueue.h: Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/bits/resource.h: Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/bits/statfs.h: Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/bits/statvfs.h: Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/bits/timex.h: Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/bits/utmp.h: Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/bits/utmpx.h: Likewise.
 +
 +2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
 +	thread pointer.
 +	(TLS_IE): Use mov/add instead of movq/addq to load thread
 +	pointer.
 +	(TLS_GD_PREFIX): New.
 +	(TLS_GD): Use it.
 +
 +2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* elf/stackguard-macros.h (STACK_CHK_GUARD): Add x32 version.
 +
 +2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
 +
 +	* sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New.
 +
 +	* sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
 +	Handle x32 libraries.
 +	* sysdeps/unix/sysv/linux/x86_64/readelflib.c (process_elf_file):
 +	Likewise.
 +
 +	* sysdeps/unix/sysv/linux/x86_64/dl-cache.h (add_system_dir): New
 +	Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
 +
 +	* sysdeps/unix/sysv/linux/x86_64/ldconfig.h
 +	(SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
 +
 +2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* stdlib/longlong.h (count_leading_zeros): Use long long builtin
 +	for x86-64.
 +	(count_trailing_zeros): Likewise.
 +
 +2011-11-21  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* elf/elf.h (R_X86_64_RELATIVE64): New.
 +	(R_X86_64_NUM): Updated.
 +
 +2011-11-18  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/x86_64/ffsll.c: Add ffsl alias only if __LP64__ is
 +	defined.
 +
 +2011-11-18  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
 +	* sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.  Updated.
 +
 +	* sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
 +
 +2011-11-18  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* time/mktime.c (ydhms_diff): Check TIME_T_MAX instead of
 +	LONG_MAX.
 +
 +	* time/offtime.c (__offtime): Add more overflow check.
 +
 +2011-11-18  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* bits/types.h (__snseconds_t): New.
 +	* bits/typesizes.h (__SNSECONDS_T_TYPE): Likewise.
 +	* sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h (__SNSECONDS_T_TYPE):
 +	Likewise.
 +	* sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__SNSECONDS_T_TYPE):
 +	Likewise.
 +	* sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__SNSECONDS_T_TYPE):
 +	Likewise.
 +
 +	* time/time.h (timespec): Use __snseconds_t on tv_nsec.
 +
 +2011-11-18  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* sysdeps/unix/sysv/linux/x86_64/sysdep.h
 +	(VSYSCALL_ADDR_vgettimeofday): New.
 +	(VSYSCALL_ADDR_vtime): Likewise.
 +	(VSYSCALL_ADDR_vgetcpu): Likewise.
 +
 +	* sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
 +	(VSYSCALL_ADDR_vgettimeofday): Removed.
 +	* sysdeps/unix/sysv/linux/x86_64/init-first.c
 +	(VSYSCALL_ADDR_vgetcpu): Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S
 +	(VSYSCALL_ADDR_vgetcpu): Likewise.
 +	* sysdeps/unix/sysv/linux/x86_64/time.c (VSYSCALL_ADDR_vtime):
 +	Likewise.
 +
 +	* sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: New.
 +	* sysdeps/x86_64/x32/sysdep.h: Likewise.
 +
 +	* sysdeps/x86_64/sysdep.h (LP_SIZE): New.
 +	(MOVE_LP): Likewise.
 +	(ADD_LP): Likewise.
 +	(SUB_LP): Likewise.
 +	(CMP_LP): Likewise.
 +	(ASM_ADDR): Likewise.
 +	(RAX_LP): New.
 +	(RBP_LP): Likewise.
 +	(RBX_LP): Likewise.
 +	(RCX_LP): Likewise.
 +	(RDI_LP): Likewise.
 +	(RSI_LP): Likewise.
 +	(RSP_LP): Likewise.
 +	(R8_LP): Likewise.
 +	(R9_LP): Likewise.
 +	(R10_LP): Likewise.
 +	(R10_LP): Likewise.
 +	(R11_LP): Likewise.
 +	(R12_LP): Likewise.
 +	(R13_LP): Likewise.
 +	(R14_LP): Likewise.
 +	(R15_LP): Likewise.
 +
 +2011-11-18  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* shlib-versions: Move ld name for x86_64-.*-linux.* to ...
 +	* sysdeps/x86_64/64/shlib-versions: Here.  New.
 +
 +	* sysdeps/x86_64/x32/shlib-versions: New.
 +
 +2011-11-18  H.J. Lu  <hongjiu.lu@intel.com>
 +
 +	* Makeconfig ($(common-objpfx)gnu/lib-names.stmp): Depend on
 +	$(lib-names_awk) instead of scripts/lib-names.awk.
 +
 +	* Makefile ($(inst_includedir)/gnu/stubs.h): Depend on
 +	$(stubs-biarch_h) instead of include/stubs-biarch.h.
 +	(data-machine): New.
 +	(check-data): Use it.
 +
 +	* config.make.in (data-machine): New.
 +	(stubs-biarch_h): Likewise.
 +	(lib-names_awk): Likewise.
 +	(use-default-syscall-macros): Likewise.
 +
 +	* configure.in: Add sysdeps preconfigure fragment support.
 +	(data_machine): Substitute.
 +	(stubs_biarch_h): Set to include/stubs-biarch.h if not set.
 +	Substitute.
 +	(lib_names_awk): Set to scripts/lib-names.awk if not set.
 +	Substitute.
 +	(use_default_syscall_macros): Set to yes if not set.
 +	Substitute.
 +	* configure: Regenerated.
 +
 +	* scripts/data/c++-types-x32-linux-gnu.data: New.
 +	* sysdeps/unix/sysv/linux/x86_64/stubs-triarch.h: Likewise.
 +	* sysdeps/x86_64/lib-names.awk: Likewise.
 +	* sysdeps/x86_64/preconfigure: Likewise.
 +	* sysdeps/x86_64/stubs-biarch.h: Likewise.
 +
 +	* sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h
 +	$(objpfx)syscall-%.d): Defined only if
 +	$(use-default-syscall-macros) is set to yes.
 +
 +	* sysdeps/unix/sysv/linux/configure.in: Require kernel 2.6.35
 +	or above for x32.  Check x86_64/x64 instead of x86_64.
 +	* sysdeps/unix/sysv/linux/configure: Regenerated.
 +
 +	* sysdeps/x86_64/preconfigure (stubs_biarch_h): Set to
 +	sysdeps/x86_64/stubs-biarch.h.
 +
 +	* sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine): Add
 +	__LP64__.
 +	($(objpfx)syscall-%.h $(objpfx)syscall-%.d): New.
diff --cc sysdeps/x86_64/bits/byteswap.h
index d570d0c,472281f..c5bc2ff
--- a/sysdeps/x86_64/bits/byteswap.h
+++ b/sysdeps/x86_64/bits/byteswap.h
@@@ -104,8 -129,23 +103,24 @@@
  	     __r.__l[1] = __bswap_32 (__w.__l[0]);                            \
  	   }                                                                  \
  	 __r.__ll; }))
 +#  endif
  # endif
+ #elif __GLIBC_HAVE_LONG_LONG
+ # define __bswap_constant_64(x) \
+      ((((x) & 0xff00000000000000ull) >> 56)				      \
+       | (((x) & 0x00ff000000000000ull) >> 40)				      \
+       | (((x) & 0x0000ff0000000000ull) >> 24)				      \
+       | (((x) & 0x000000ff00000000ull) >> 8)				      \
+       | (((x) & 0x00000000ff000000ull) << 8)				      \
+       | (((x) & 0x0000000000ff0000ull) << 24)				      \
+       | (((x) & 0x000000000000ff00ull) << 40)				      \
+       | (((x) & 0x00000000000000ffull) << 56))
+ 
+ static __inline unsigned long long int
+ __bswap_64 (unsigned long long int __bsx)
+ {
+   return __bswap_constant_64 (__bsx);
+ }
  #endif
  
  #endif /* _BITS_BYTESWAP_H */

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

Summary of changes:
 .gitignore                                         |    5 +-
 ChangeLog                                          |  447 +++++
 ChangeLog.x32                                      |   82 +
 NEWS                                               |   23 +-
 abilist/libc.abilist                               |    2 +
 bits/byteswap-16.h                                 |   33 +
 bits/byteswap.h                                    |   56 +-
 configure                                          |   23 +-
 configure.in                                       |   21 +-
 crypt/md5-crypt.c                                  |   22 +-
 crypt/sha256-crypt.c                               |   38 +-
 crypt/sha512-crypt.c                               |   37 +-
 csu/init-first.c                                   |    6 +-
 elf/Makefile                                       |    3 +-
 elf/dl-load.c                                      |    5 +-
 elf/dl-lookup.c                                    |    3 +-
 elf/dl-support.c                                   |    4 +-
 elf/dynamic-link.h                                 |   69 +-
 elf/elf.h                                          |    1 +
 elf/rtld.c                                         |   24 +-
 iconvdata/tcvn5712-1.c                             |    7 +-
 libio/fileops.c                                    |   19 +-
 libio/libio.h                                      |   10 +-
 libio/stdio.h                                      |    6 +-
 localedata/ChangeLog                               |   15 +
 localedata/locales/ca_ES                           |    6 +-
 localedata/locales/ru_UA                           |    2 +
 manual/.gitignore                                  |    1 +
 manual/conf.texi                                   |    4 +-
 manual/filesys.texi                                |   14 +-
 manual/install.texi                                |    2 +-
 manual/llio.texi                                   |   14 +-
 manual/setjmp.texi                                 |   15 +-
 manual/startup.texi                                |    7 +
 manual/stdio.texi                                  |   35 +-
 manual/syslog.texi                                 |    2 +-
 manual/time.texi                                   |   19 +-
 math/libm-test.inc                                 |  113 +-
 math/s_ctan.c                                      |   44 +-
 math/s_ctanf.c                                     |   44 +-
 math/s_ctanh.c                                     |   43 +-
 math/s_ctanhf.c                                    |   43 +-
 math/s_ctanhl.c                                    |   43 +-
 math/s_ctanl.c                                     |   45 +-
 nis/nss_compat/compat-initgroups.c                 |   74 +-
 nptl/ChangeLog.x32                                 |    4 +
 nptl/sysdeps/x86_64/x32/tls.h                      |    7 +-
 nss/Makefile                                       |    2 +
 nss/nss_db/db-initgroups.c                         |    3 +-
 nss/nsswitch.c                                     |   18 +-
 nss/tst-nss-static.c                               |   15 +
 po/ru.po                                           |    2 +-
 po/vi.po                                           | 1688 ++++++++++-------
 resolv/nss_dns/dns-host.c                          |   21 +-
 resolv/res_send.c                                  |  102 +-
 scripts/check-local-headers.sh                     |    2 +-
 stdio-common/bug22.c                               |   28 +-
 stdio-common/printf-parse.h                        |   23 +-
 stdio-common/printf-parsemb.c                      |   42 +-
 stdio-common/vfprintf.c                            |   77 +-
 stdlib/stdlib.h                                    |    5 +-
 string/Makefile                                    |    4 +-
 string/byteswap.h                                  |    6 +-
 string/endian.h                                    |   23 +-
 string/test-memcmp.c                               |    4 +-
 string/test-strcmp.c                               |    4 +-
 string/test-string.h                               |    3 +-
 sysdeps/generic/ldsodefs.h                         |    5 +-
 sysdeps/i386/bits/byteswap-16.h                    |   49 +
 sysdeps/i386/bits/byteswap.h                       |   84 +-
 sysdeps/i386/fpu/bits/mathinline.h                 |   14 +-
 sysdeps/i386/fpu/e_pow.S                           |   53 +-
 sysdeps/i386/fpu/e_powl.S                          |   31 +-
 sysdeps/i386/fpu/libm-test-ulps                    |   66 +-
 sysdeps/i386/i686/memset_chk.S                     |    4 +-
 sysdeps/i386/i686/multiarch/memcpy-ssse3.S         | 1991 ++++++++++++++------
 sysdeps/i386/init-first.c                          |    6 +-
 sysdeps/ieee754/dbl-64/e_pow.c                     |    5 +-
 sysdeps/ieee754/dbl-64/w_exp.c                     |    4 +-
 sysdeps/mach/hurd/i386/init-first.c                |    7 +-
 sysdeps/mach/hurd/powerpc/init-first.c             |    6 +-
 sysdeps/mach/hurd/ttyname_r.c                      |    4 +-
 sysdeps/mach/i386/machine-lock.h                   |    4 +-
 sysdeps/mach/powerpc/machine-lock.h                |    4 +-
 sysdeps/powerpc/powerpc32/dl-machine.h             |    4 -
 sysdeps/s390/bits/byteswap-16.h                    |   65 +
 sysdeps/s390/bits/byteswap.h                       |   62 +-
 sysdeps/s390/s390-32/dl-machine.h                  |    3 -
 sysdeps/sh/init-first.c                            |    6 +-
 sysdeps/sh/sh4/fpu/fedisblxcpt.c                   |   39 +
 sysdeps/sh/sh4/fpu/feenablxcpt.c                   |   38 +
 sysdeps/sh/sh4/fpu/fegetenv.c                      |    6 +-
 sysdeps/sh/sh4/fpu/fegetexcept.c                   |   35 +
 sysdeps/sh/sh4/fpu/fesetround.c                    |    6 +-
 sysdeps/sh/sh4/fpu/feupdateenv.c                   |   39 +
 sysdeps/sh/sh4/fpu/fraiseexcpt.c                   |   42 +-
 sysdeps/sh/sh4/fpu/ftestexcept.c                   |    3 +
 sysdeps/sparc/fpu/libm-test-ulps                   |  134 ++-
 sysdeps/sparc/mempcpy.S                            |    1 +
 sysdeps/sparc/sparc32/dl-machine.h                 |    9 +-
 sysdeps/sparc/sparc32/memcpy.S                     |   14 +-
 .../sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c  |    1 +
 .../sparc/sparc32/sparcv9/multiarch/rtld-memset.c  |    1 +
 sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c        |    1 +
 sysdeps/sparc/sparc32/sparcv9/rtld-memset.c        |    1 +
 sysdeps/sparc/sparc64/dl-machine.h                 |   15 +-
 sysdeps/sparc/sparc64/memcpy.S                     |   23 +-
 sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S  |   10 +-
 sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S  |   10 +-
 sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S    |    6 +
 sysdeps/sparc/sparc64/multiarch/memcpy.S           |   70 +-
 sysdeps/sparc/sparc64/multiarch/memset-niagara1.S  |   54 +-
 sysdeps/sparc/sparc64/multiarch/memset.S           |   10 +-
 sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c      |    1 +
 sysdeps/sparc/sparc64/multiarch/rtld-memset.c      |    1 +
 sysdeps/sparc/sparc64/rtld-memcpy.c                |    2 +
 sysdeps/{x86_64 => sparc/sparc64}/rtld-memset.c    |    0
 sysdeps/unix/sysv/linux/bits/socket.h              |    5 +-
 sysdeps/unix/sysv/linux/x86_64/{64 => }/Implies    |    0
 sysdeps/unix/sysv/linux/x86_64/bits/ipc.h          |    8 +-
 sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h     |    7 +-
 sysdeps/unix/sysv/linux/x86_64/bits/mqueue.h       |    8 +-
 sysdeps/unix/sysv/linux/x86_64/bits/resource.h     |    7 +-
 sysdeps/unix/sysv/linux/x86_64/bits/statfs.h       |    7 +-
 sysdeps/unix/sysv/linux/x86_64/bits/statvfs.h      |    7 +-
 sysdeps/unix/sysv/linux/x86_64/bits/timex.h        |    7 +-
 sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h    |    7 +-
 sysdeps/unix/sysv/linux/x86_64/bits/utmp.h         |    7 +-
 sysdeps/unix/sysv/linux/x86_64/bits/utmpx.h        |    7 +-
 sysdeps/unix/sysv/linux/x86_64/sys/msg.h           |    7 +-
 sysdeps/unix/sysv/linux/x86_64/x32/Implies         |    1 -
 sysdeps/unix/sysv/linux/x86_64/x32/Makefile        |    4 +
 sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c    |   64 +
 sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h      |    7 +-
 sysdeps/unix/sysv/linux/x86_64/x32/fallocate.c     |    7 +-
 sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c        |    7 +-
 sysdeps/unix/sysv/linux/x86_64/x32/getdents.c      |    8 +-
 sysdeps/unix/sysv/linux/x86_64/x32/gettimeofday.c  |    7 +-
 sysdeps/unix/sysv/linux/x86_64/x32/init-first.c    |    7 +-
 sysdeps/unix/sysv/linux/x86_64/x32/llseek.S        |    7 +-
 sysdeps/unix/sysv/linux/x86_64/x32/posix_fadvise.c |    7 +-
 .../unix/sysv/linux/x86_64/x32/posix_fallocate.c   |    7 +-
 sysdeps/unix/sysv/linux/x86_64/x32/preadv.c        |    7 +-
 sysdeps/unix/sysv/linux/x86_64/x32/pselect.c       |    7 +-
 sysdeps/unix/sysv/linux/x86_64/x32/ptrace.c        |   98 +
 sysdeps/unix/sysv/linux/x86_64/x32/pwritev.c       |    7 +-
 sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S  |    7 +-
 sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h        |    7 +-
 sysdeps/unix/sysv/linux/x86_64/x32/time.c          |    7 +-
 sysdeps/x86_64/64/Implies                          |    7 -
 .../powerpc64/Implies => x86_64/64/Implies-after}  |    0
 sysdeps/x86_64/Implies                             |    4 +
 sysdeps/x86_64/bits/byteswap-16.h                  |   49 +
 sysdeps/x86_64/bits/byteswap.h                     |  115 +-
 sysdeps/x86_64/{common => }/bits/wordsize.h        |    0
 sysdeps/x86_64/fpu/e_powl.S                        |   31 +-
 sysdeps/x86_64/fpu/libm-test-ulps                  |   97 +-
 sysdeps/x86_64/memset.S                            |   12 +-
 sysdeps/x86_64/memset_chk.S                        |    4 +-
 sysdeps/x86_64/sysdep.h                            |    6 +-
 sysdeps/x86_64/x32/Implies                         |    7 -
 .../powerpc32/Implies => x86_64/x32/Implies-after} |    0
 sysdeps/x86_64/x32/dl-machine.h                    |    7 +-
 sysdeps/x86_64/x32/sysdep.h                        |    7 +-
 time/tst-mktime2.c                                 |    2 +
 wcsmbs/Makefile                                    |    3 +-
 wcsmbs/tst-mbsnrtowcs.c                            |   83 +
 167 files changed, 5440 insertions(+), 2014 deletions(-)
 create mode 100644 bits/byteswap-16.h
 create mode 100644 nss/tst-nss-static.c
 create mode 100644 sysdeps/i386/bits/byteswap-16.h
 create mode 100644 sysdeps/s390/bits/byteswap-16.h
 create mode 100644 sysdeps/sh/sh4/fpu/fedisblxcpt.c
 create mode 100644 sysdeps/sh/sh4/fpu/feenablxcpt.c
 create mode 100644 sysdeps/sh/sh4/fpu/fegetexcept.c
 create mode 100644 sysdeps/sh/sh4/fpu/feupdateenv.c
 create mode 100644 sysdeps/sparc/mempcpy.S
 create mode 100644 sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c
 create mode 100644 sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c
 create mode 100644 sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c
 create mode 100644 sysdeps/sparc/sparc32/sparcv9/rtld-memset.c
 create mode 100644 sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c
 create mode 100644 sysdeps/sparc/sparc64/multiarch/rtld-memset.c
 create mode 100644 sysdeps/sparc/sparc64/rtld-memcpy.c
 copy sysdeps/{x86_64 => sparc/sparc64}/rtld-memset.c (100%)
 rename sysdeps/unix/sysv/linux/x86_64/{64 => }/Implies (100%)
 delete mode 100644 sysdeps/unix/sysv/linux/x86_64/x32/Implies
 create mode 100644 sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c
 create mode 100644 sysdeps/unix/sysv/linux/x86_64/x32/ptrace.c
 delete mode 100644 sysdeps/x86_64/64/Implies
 copy sysdeps/{powerpc/powerpc64/Implies => x86_64/64/Implies-after} (100%)
 create mode 100644 sysdeps/x86_64/Implies
 create mode 100644 sysdeps/x86_64/bits/byteswap-16.h
 rename sysdeps/x86_64/{common => }/bits/wordsize.h (100%)
 delete mode 100644 sysdeps/x86_64/x32/Implies
 copy sysdeps/{powerpc/powerpc32/Implies => x86_64/x32/Implies-after} (100%)
 create mode 100644 wcsmbs/tst-mbsnrtowcs.c


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]