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


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

GNU C Library master sources branch master updated. glibc-2.22-227-gde071d1


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  de071d199a8578055edf2722114788ae749823aa (commit)
      from  20f366af163db7b9243a6bfd5d4d42ad6b3214c0 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=de071d199a8578055edf2722114788ae749823aa

commit de071d199a8578055edf2722114788ae749823aa
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Fri Sep 11 20:00:19 2015 +0000

    Move bits/atomic.h to atomic-machine.h (bug 14912).
    
    It was noted in
    <https://sourceware.org/ml/libc-alpha/2012-09/msg00305.html> that the
    bits/*.h naming scheme should only be used for installed headers.
    This patch renames bits/atomic.h to atomic-machine.h to follow that
    convention.
    
    This is the only change in this series that needs to change the
    filename rather than simply removing a directory level (because both
    atomic.h and bits/atomic.h exist at present).
    
    Tested for x86_64 (testsuite, and that installed stripped shared
    libraries are unchanged by the patch).
    
    	[BZ #14912]
    	* sysdeps/aarch64/bits/atomic.h: Move to ...
    	* sysdeps/aarch64/atomic-machine.h: ...here.
    	(_AARCH64_BITS_ATOMIC_H): Rename macro to
    	_AARCH64_ATOMIC_MACHINE_H.
    	* sysdeps/alpha/bits/atomic.h: Move to ...
    	* sysdeps/alpha/atomic-machine.h: ...here.
    	* sysdeps/arm/bits/atomic.h: Move to ...
    	* sysdeps/arm/atomic-machine.h: ...here.  Update comments.
    	* bits/atomic.h: Move to ...
    	* sysdeps/generic/atomic-machine.h: ...here.
    	(_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
    	* sysdeps/i386/bits/atomic.h: Move to ...
    	* sysdeps/i386/atomic-machine.h: ...here.
    	* sysdeps/ia64/bits/atomic.h: Move to ...
    	* sysdeps/ia64/atomic-machine.h: ...here.
    	* sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
    	* sysdeps/m68k/coldfire/atomic-machine.h: ...here.
    	(_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
    	* sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
    	* sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
    	* sysdeps/microblaze/bits/atomic.h: Move to ...
    	* sysdeps/microblaze/atomic-machine.h: ...here.
    	* sysdeps/mips/bits/atomic.h: Move to ...
    	* sysdeps/mips/atomic-machine.h: ...here.
    	(_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
    	* sysdeps/powerpc/bits/atomic.h: Move to ...
    	* sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
    	* sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
    	* sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
    	comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
    	* sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
    	* sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
    	<atomic-machine.h> instead of <bits/atomic.h>.
    	* sysdeps/s390/bits/atomic.h: Move to ...
    	* sysdeps/s390/atomic-machine.h: ...here.
    	* sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
    	* sysdeps/sparc/sparc32/atomic-machine.h: ...here.
    	(_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
    	* sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
    	* sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
    	* sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
    	* sysdeps/sparc/sparc64/atomic-machine.h: ...here.
    	* sysdeps/tile/bits/atomic.h: Move to ...
    	* sysdeps/tile/atomic-machine.h: ...here.
    	* sysdeps/tile/tilegx/bits/atomic.h: Move to ...
    	* sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
    	<sysdeps/tile/atomic-machine.h> instead of
    	<sysdeps/tile/bits/atomic.h>.
    	(_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
    	* sysdeps/tile/tilepro/bits/atomic.h: Move to ...
    	* sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
    	<sysdeps/tile/atomic-machine.h> instead of
    	<sysdeps/tile/bits/atomic.h>.
    	(_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
    	* sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
    	* sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
    	<sysdeps/arm/atomic-machine.h> instead of
    	<sysdeps/arm/bits/atomic.h>.
    	* sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
    	* sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
    	(_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
    	* sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
    	* sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
    	(_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
    	* sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
    	* sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
    	(_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
    	* sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
    	* sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
    	* sysdeps/x86_64/bits/atomic.h: Move to ...
    	* sysdeps/x86_64/atomic-machine.h: ...here.
    	* include/atomic.h: Include <atomic-machine.h> instead of
    	<bits/atomic.h>.

diff --git a/ChangeLog b/ChangeLog
index f00b277..ca4db61 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,80 @@
 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
 
+	[BZ #14912]
+	* sysdeps/aarch64/bits/atomic.h: Move to ...
+	* sysdeps/aarch64/atomic-machine.h: ...here.
+	(_AARCH64_BITS_ATOMIC_H): Rename macro to
+	_AARCH64_ATOMIC_MACHINE_H.
+	* sysdeps/alpha/bits/atomic.h: Move to ...
+	* sysdeps/alpha/atomic-machine.h: ...here.
+	* sysdeps/arm/bits/atomic.h: Move to ...
+	* sysdeps/arm/atomic-machine.h: ...here.  Update comments.
+	* bits/atomic.h: Move to ...
+	* sysdeps/generic/atomic-machine.h: ...here.
+	(_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
+	* sysdeps/i386/bits/atomic.h: Move to ...
+	* sysdeps/i386/atomic-machine.h: ...here.
+	* sysdeps/ia64/bits/atomic.h: Move to ...
+	* sysdeps/ia64/atomic-machine.h: ...here.
+	* sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
+	* sysdeps/m68k/coldfire/atomic-machine.h: ...here.
+	(_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
+	* sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
+	* sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
+	* sysdeps/microblaze/bits/atomic.h: Move to ...
+	* sysdeps/microblaze/atomic-machine.h: ...here.
+	* sysdeps/mips/bits/atomic.h: Move to ...
+	* sysdeps/mips/atomic-machine.h: ...here.
+	(_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
+	* sysdeps/powerpc/bits/atomic.h: Move to ...
+	* sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
+	* sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
+	* sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
+	comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
+	* sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
+	* sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
+	<atomic-machine.h> instead of <bits/atomic.h>.
+	* sysdeps/s390/bits/atomic.h: Move to ...
+	* sysdeps/s390/atomic-machine.h: ...here.
+	* sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
+	* sysdeps/sparc/sparc32/atomic-machine.h: ...here.
+	(_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
+	* sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
+	* sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
+	* sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
+	* sysdeps/sparc/sparc64/atomic-machine.h: ...here.
+	* sysdeps/tile/bits/atomic.h: Move to ...
+	* sysdeps/tile/atomic-machine.h: ...here.
+	* sysdeps/tile/tilegx/bits/atomic.h: Move to ...
+	* sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
+	<sysdeps/tile/atomic-machine.h> instead of
+	<sysdeps/tile/bits/atomic.h>.
+	(_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
+	* sysdeps/tile/tilepro/bits/atomic.h: Move to ...
+	* sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
+	<sysdeps/tile/atomic-machine.h> instead of
+	<sysdeps/tile/bits/atomic.h>.
+	(_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
+	* sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
+	* sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
+	<sysdeps/arm/atomic-machine.h> instead of
+	<sysdeps/arm/bits/atomic.h>.
+	* sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
+	* sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
+	(_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
+	* sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
+	* sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
+	(_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
+	* sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
+	* sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
+	(_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
+	* sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
+	* sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
+	* sysdeps/x86_64/bits/atomic.h: Move to ...
+	* sysdeps/x86_64/atomic-machine.h: ...here.
+	* include/atomic.h: Include <atomic-machine.h> instead of
+	<bits/atomic.h>.
+
 	* sysdeps/mips/mips32/libm-test-ulps: Update.
 	* sysdeps/mips/mips64/libm-test-ulps: Likewise.
 
diff --git a/NEWS b/NEWS
index 65e706c..8b8a0b4 100644
--- a/NEWS
+++ b/NEWS
@@ -9,11 +9,11 @@ Version 2.23
 
 * The following bugs are resolved with this release:
 
-  2542, 2543, 2558, 2898, 14341, 15786, 16141, 16517, 16519, 16520, 16734,
-  16973, 17787, 17905, 18084, 18086, 18240, 18265, 18370, 18421, 18480,
-  18525, 18610, 18618, 18647, 18661, 18674, 18675, 18681, 18757, 18778,
-  18781, 18787, 18789, 18790, 18795, 18796, 18820, 18823, 18824, 18863,
-  18870, 18873, 18887, 18921, 18952.
+  2542, 2543, 2558, 2898, 14341, 14912, 15786, 16141, 16517, 16519, 16520,
+  16734, 16973, 17787, 17905, 18084, 18086, 18240, 18265, 18370, 18421,
+  18480, 18525, 18610, 18618, 18647, 18661, 18674, 18675, 18681, 18757,
+  18778, 18781, 18787, 18789, 18790, 18795, 18796, 18820, 18823, 18824,
+  18863, 18870, 18873, 18887, 18921, 18952.
 
 * The obsolete header <regexp.h> has been removed.  Programs that require
   this header must be updated to use <regex.h> instead.
diff --git a/include/atomic.h b/include/atomic.h
index 221bea0..d492ef2 100644
--- a/include/atomic.h
+++ b/include/atomic.h
@@ -47,7 +47,7 @@
 
 #include <stdlib.h>
 
-#include <bits/atomic.h>
+#include <atomic-machine.h>
 
 /* Wrapper macros to call pre_NN_post (mem, ...) where NN is the
    bit width of *MEM.  The calling macro puts parens around MEM
diff --git a/sysdeps/aarch64/bits/atomic.h b/sysdeps/aarch64/atomic-machine.h
similarity index 98%
rename from sysdeps/aarch64/bits/atomic.h
rename to sysdeps/aarch64/atomic-machine.h
index fdd5eaa..3758dd7 100644
--- a/sysdeps/aarch64/bits/atomic.h
+++ b/sysdeps/aarch64/atomic-machine.h
@@ -16,8 +16,8 @@
    License along with the GNU C Library.  If not, see
    <http://www.gnu.org/licenses/>.  */
 
-#ifndef _AARCH64_BITS_ATOMIC_H
-#define _AARCH64_BITS_ATOMIC_H	1
+#ifndef _AARCH64_ATOMIC_MACHINE_H
+#define _AARCH64_ATOMIC_MACHINE_H	1
 
 #include <stdint.h>
 
diff --git a/sysdeps/alpha/bits/atomic.h b/sysdeps/alpha/atomic-machine.h
similarity index 100%
rename from sysdeps/alpha/bits/atomic.h
rename to sysdeps/alpha/atomic-machine.h
diff --git a/sysdeps/arm/bits/atomic.h b/sysdeps/arm/atomic-machine.h
similarity index 97%
rename from sysdeps/arm/bits/atomic.h
rename to sysdeps/arm/atomic-machine.h
index 772a354..2a89a73 100644
--- a/sysdeps/arm/bits/atomic.h
+++ b/sysdeps/arm/atomic-machine.h
@@ -44,7 +44,7 @@ void __arm_link_error (void);
 # define atomic_full_barrier() __arm_assisted_full_barrier ()
 #endif
 
-/* An OS-specific bits/atomic.h file will define this macro if
+/* An OS-specific atomic-machine.h file will define this macro if
    the OS can provide something.  If not, we'll fail to build
    with a compiler that doesn't supply the operation.  */
 #ifndef __arm_assisted_full_barrier
@@ -153,7 +153,7 @@ void __arm_link_error (void);
   ({ __arm_link_error (); oldval; })
 #endif
 
-/* An OS-specific bits/atomic.h file will define this macro if
+/* An OS-specific atomic-machine.h file will define this macro if
    the OS can provide something.  If not, we'll fail to build
    with a compiler that doesn't supply the operation.  */
 #ifndef __arm_assisted_compare_and_exchange_val_32_acq
diff --git a/bits/atomic.h b/sysdeps/generic/atomic-machine.h
similarity index 95%
rename from bits/atomic.h
rename to sysdeps/generic/atomic-machine.h
index 0a7b9c5..c51f3ef 100644
--- a/bits/atomic.h
+++ b/sysdeps/generic/atomic-machine.h
@@ -16,8 +16,8 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
-#ifndef _BITS_ATOMIC_H
-#define _BITS_ATOMIC_H	1
+#ifndef _ATOMIC_MACHINE_H
+#define _ATOMIC_MACHINE_H	1
 
 /* We have by default no support for atomic operations.  So define
    them non-atomic.  If this is a problem somebody will have to come
@@ -39,4 +39,4 @@
 								      \
      *__gmemp == (oldval) ? (*__gmemp = __gnewval, 0) : 1; })
 
-#endif	/* bits/atomic.h */
+#endif	/* atomic-machine.h */
diff --git a/sysdeps/i386/bits/atomic.h b/sysdeps/i386/atomic-machine.h
similarity index 100%
rename from sysdeps/i386/bits/atomic.h
rename to sysdeps/i386/atomic-machine.h
diff --git a/sysdeps/ia64/bits/atomic.h b/sysdeps/ia64/atomic-machine.h
similarity index 100%
rename from sysdeps/ia64/bits/atomic.h
rename to sysdeps/ia64/atomic-machine.h
diff --git a/sysdeps/m68k/coldfire/bits/atomic.h b/sysdeps/m68k/coldfire/atomic-machine.h
similarity index 97%
rename from sysdeps/m68k/coldfire/bits/atomic.h
rename to sysdeps/m68k/coldfire/atomic-machine.h
index c09bf18..48899ce 100644
--- a/sysdeps/m68k/coldfire/bits/atomic.h
+++ b/sysdeps/m68k/coldfire/atomic-machine.h
@@ -15,8 +15,8 @@
    License along with the GNU C Library.  If not, see
    <http://www.gnu.org/licenses/>.  */
 
-#ifndef _BITS_ATOMIC_H
-#define _BITS_ATOMIC_H	1
+#ifndef _ATOMIC_MACHINE_H
+#define _ATOMIC_MACHINE_H	1
 
 #include <stdint.h>
 
diff --git a/sysdeps/m68k/m680x0/m68020/bits/atomic.h b/sysdeps/m68k/m680x0/m68020/atomic-machine.h
similarity index 100%
rename from sysdeps/m68k/m680x0/m68020/bits/atomic.h
rename to sysdeps/m68k/m680x0/m68020/atomic-machine.h
diff --git a/sysdeps/microblaze/bits/atomic.h b/sysdeps/microblaze/atomic-machine.h
similarity index 100%
rename from sysdeps/microblaze/bits/atomic.h
rename to sysdeps/microblaze/atomic-machine.h
diff --git a/sysdeps/mips/bits/atomic.h b/sysdeps/mips/atomic-machine.h
similarity index 99%
rename from sysdeps/mips/bits/atomic.h
rename to sysdeps/mips/atomic-machine.h
index 3754489..6db8fee 100644
--- a/sysdeps/mips/bits/atomic.h
+++ b/sysdeps/mips/atomic-machine.h
@@ -16,8 +16,8 @@
    License along with the GNU C Library.  If not, see
    <http://www.gnu.org/licenses/>.  */
 
-#ifndef _MIPS_BITS_ATOMIC_H
-#define _MIPS_BITS_ATOMIC_H 1
+#ifndef _MIPS_ATOMIC_MACHINE_H
+#define _MIPS_ATOMIC_MACHINE_H 1
 
 #include <stdint.h>
 #include <inttypes.h>
@@ -500,4 +500,4 @@ typedef uintmax_t uatomic_max_t;
 			".set pop" : : : "memory")
 #endif /* !__mips16 */
 
-#endif /* bits/atomic.h */
+#endif /* atomic-machine.h */
diff --git a/sysdeps/powerpc/bits/atomic.h b/sysdeps/powerpc/atomic-machine.h
similarity index 98%
rename from sysdeps/powerpc/bits/atomic.h
rename to sysdeps/powerpc/atomic-machine.h
index 8ca45ee..a056eb1 100644
--- a/sysdeps/powerpc/bits/atomic.h
+++ b/sysdeps/powerpc/atomic-machine.h
@@ -18,11 +18,11 @@
    <http://www.gnu.org/licenses/>.  */
 
 /*
- * Never include sysdeps/powerpc/bits/atomic.h directly.
+ * Never include sysdeps/powerpc/atomic-machine.h directly.
  * Alway use include/atomic.h which will include either
- * sysdeps/powerpc/powerpc32/bits/atomic.h
+ * sysdeps/powerpc/powerpc32/atomic-machine.h
  * or
- * sysdeps/powerpc/powerpc64/bits/atomic.h
+ * sysdeps/powerpc/powerpc64/atomic-machine.h
  * as appropriate and which in turn include this file.
  */
 
diff --git a/sysdeps/powerpc/powerpc32/bits/atomic.h b/sysdeps/powerpc/powerpc32/atomic-machine.h
similarity index 98%
rename from sysdeps/powerpc/powerpc32/bits/atomic.h
rename to sysdeps/powerpc/powerpc32/atomic-machine.h
index 8cb0627..9ff70c5 100644
--- a/sysdeps/powerpc/powerpc32/bits/atomic.h
+++ b/sysdeps/powerpc/powerpc32/atomic-machine.h
@@ -40,7 +40,7 @@
  * The 32-bit exchange_bool is different on powerpc64 because the subf
  * does signed 64-bit arithmetic while the lwarx is 32-bit unsigned
  * (a load word and zero (high 32) form).  So powerpc64 has a slightly
- * different version in sysdeps/powerpc/powerpc64/bits/atomic.h.
+ * different version in sysdeps/powerpc/powerpc64/atomic-machine.h.
  */
 #define __arch_compare_and_exchange_bool_32_acq(mem, newval, oldval)         \
 ({									      \
@@ -141,4 +141,4 @@
  * Include the rest of the atomic ops macros which are common to both
  * powerpc32 and powerpc64.
  */
-#include_next <bits/atomic.h>
+#include_next <atomic-machine.h>
diff --git a/sysdeps/powerpc/powerpc64/bits/atomic.h b/sysdeps/powerpc/powerpc64/atomic-machine.h
similarity index 99%
rename from sysdeps/powerpc/powerpc64/bits/atomic.h
rename to sysdeps/powerpc/powerpc64/atomic-machine.h
index 92a2a3d..e1d3e9b 100644
--- a/sysdeps/powerpc/powerpc64/bits/atomic.h
+++ b/sysdeps/powerpc/powerpc64/atomic-machine.h
@@ -271,4 +271,4 @@
  * Include the rest of the atomic ops macros which are common to both
  * powerpc32 and powerpc64.
  */
-#include_next <bits/atomic.h>
+#include_next <atomic-machine.h>
diff --git a/sysdeps/s390/bits/atomic.h b/sysdeps/s390/atomic-machine.h
similarity index 100%
rename from sysdeps/s390/bits/atomic.h
rename to sysdeps/s390/atomic-machine.h
diff --git a/sysdeps/sparc/sparc32/bits/atomic.h b/sysdeps/sparc/sparc32/atomic-machine.h
similarity index 99%
rename from sysdeps/sparc/sparc32/bits/atomic.h
rename to sysdeps/sparc/sparc32/atomic-machine.h
index 4242ba8..0fb1111 100644
--- a/sysdeps/sparc/sparc32/bits/atomic.h
+++ b/sysdeps/sparc/sparc32/atomic-machine.h
@@ -17,8 +17,8 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
-#ifndef _BITS_ATOMIC_H
-#define _BITS_ATOMIC_H	1
+#ifndef _ATOMIC_MACHINE_H
+#define _ATOMIC_MACHINE_H	1
 
 #include <stdint.h>
 
@@ -357,4 +357,4 @@ extern uint64_t _dl_hwcap __attribute__((weak));
 
 #include <sysdep.h>
 
-#endif	/* bits/atomic.h */
+#endif	/* atomic-machine.h */
diff --git a/sysdeps/sparc/sparc32/sparcv9/bits/atomic.h b/sysdeps/sparc/sparc32/sparcv9/atomic-machine.h
similarity index 100%
rename from sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
rename to sysdeps/sparc/sparc32/sparcv9/atomic-machine.h
diff --git a/sysdeps/sparc/sparc64/bits/atomic.h b/sysdeps/sparc/sparc64/atomic-machine.h
similarity index 100%
rename from sysdeps/sparc/sparc64/bits/atomic.h
rename to sysdeps/sparc/sparc64/atomic-machine.h
diff --git a/sysdeps/tile/bits/atomic.h b/sysdeps/tile/atomic-machine.h
similarity index 100%
rename from sysdeps/tile/bits/atomic.h
rename to sysdeps/tile/atomic-machine.h
diff --git a/sysdeps/tile/tilegx/bits/atomic.h b/sysdeps/tile/tilegx/atomic-machine.h
similarity index 94%
rename from sysdeps/tile/tilegx/bits/atomic.h
rename to sysdeps/tile/tilegx/atomic-machine.h
index e75efb1..1f7805b 100644
--- a/sysdeps/tile/tilegx/bits/atomic.h
+++ b/sysdeps/tile/tilegx/atomic-machine.h
@@ -16,8 +16,8 @@
    License along with the GNU C Library.  If not, see
    <http://www.gnu.org/licenses/>.  */
 
-#ifndef _BITS_ATOMIC_H
-#define _BITS_ATOMIC_H	1
+#ifndef _ATOMIC_MACHINE_H
+#define _ATOMIC_MACHINE_H	1
 
 #include <arch/spr_def.h>
 
@@ -55,6 +55,6 @@
 #define atomic_decrement_if_positive(mem) \
   __atomic_update (mem, -1, fetchaddgez)
 
-#include <sysdeps/tile/bits/atomic.h>
+#include <sysdeps/tile/atomic-machine.h>
 
-#endif /* bits/atomic.h */
+#endif /* atomic-machine.h */
diff --git a/sysdeps/tile/tilepro/bits/atomic.h b/sysdeps/tile/tilepro/atomic-machine.h
similarity index 96%
rename from sysdeps/tile/tilepro/bits/atomic.h
rename to sysdeps/tile/tilepro/atomic-machine.h
index e0ef9fb..a99f170 100644
--- a/sysdeps/tile/tilepro/bits/atomic.h
+++ b/sysdeps/tile/tilepro/atomic-machine.h
@@ -16,8 +16,8 @@
    License along with the GNU C Library.  If not, see
    <http://www.gnu.org/licenses/>.  */
 
-#ifndef _BITS_ATOMIC_H
-#define _BITS_ATOMIC_H	1
+#ifndef _ATOMIC_MACHINE_H
+#define _ATOMIC_MACHINE_H	1
 
 #include <asm/unistd.h>
 
@@ -83,6 +83,6 @@ int __atomic_update_32 (volatile int *mem, int mask, int addend)
   ({ __typeof (mask) __att1_v = (mask);                 \
     __atomic_update ((mem), ~__att1_v, __att1_v); })
 
-#include <sysdeps/tile/bits/atomic.h>
+#include <sysdeps/tile/atomic-machine.h>
 
-#endif /* bits/atomic.h */
+#endif /* atomic-machine.h */
diff --git a/sysdeps/unix/sysv/linux/arm/bits/atomic.h b/sysdeps/unix/sysv/linux/arm/atomic-machine.h
similarity index 99%
rename from sysdeps/unix/sysv/linux/arm/bits/atomic.h
rename to sysdeps/unix/sysv/linux/arm/atomic-machine.h
index 17cff54..4f5f3f4 100644
--- a/sysdeps/unix/sysv/linux/arm/bits/atomic.h
+++ b/sysdeps/unix/sysv/linux/arm/atomic-machine.h
@@ -104,4 +104,4 @@
      (__typeof (oldval)) a_tmp; })
 #endif
 
-#include <sysdeps/arm/bits/atomic.h>
+#include <sysdeps/arm/atomic-machine.h>
diff --git a/sysdeps/unix/sysv/linux/hppa/bits/atomic.h b/sysdeps/unix/sysv/linux/hppa/atomic-machine.h
similarity index 97%
rename from sysdeps/unix/sysv/linux/hppa/bits/atomic.h
rename to sysdeps/unix/sysv/linux/hppa/atomic-machine.h
index 26b66c5..8fbcb49 100644
--- a/sysdeps/unix/sysv/linux/hppa/bits/atomic.h
+++ b/sysdeps/unix/sysv/linux/hppa/atomic-machine.h
@@ -25,8 +25,8 @@
 #define ENOSYS	251
 #endif
 
-#ifndef _BITS_ATOMIC_H
-#define _BITS_ATOMIC_H	1
+#ifndef _ATOMIC_MACHINE_H
+#define _ATOMIC_MACHINE_H	1
 
 typedef int8_t atomic8_t;
 typedef uint8_t uatomic8_t;
@@ -100,4 +100,4 @@ typedef uintmax_t uatomic_max_t;
    })
 
 #endif
-/* _BITS_ATOMIC_H */
+/* _ATOMIC_MACHINE_H */
diff --git a/sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h b/sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
similarity index 98%
rename from sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
rename to sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
index 16002f1..ee6f8e2 100644
--- a/sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
+++ b/sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
@@ -16,8 +16,8 @@
    License along with the GNU C Library.  If not, see
    <http://www.gnu.org/licenses/>.  */
 
-#ifndef _BITS_ATOMIC_H
-#define _BITS_ATOMIC_H	1
+#ifndef _ATOMIC_MACHINE_H
+#define _ATOMIC_MACHINE_H	1
 
 #include <stdint.h>
 #include <sysdep.h>
diff --git a/sysdeps/unix/sysv/linux/nios2/bits/atomic.h b/sysdeps/unix/sysv/linux/nios2/atomic-machine.h
similarity index 96%
rename from sysdeps/unix/sysv/linux/nios2/bits/atomic.h
rename to sysdeps/unix/sysv/linux/nios2/atomic-machine.h
index 2329f74..ee4e4e3 100644
--- a/sysdeps/unix/sysv/linux/nios2/bits/atomic.h
+++ b/sysdeps/unix/sysv/linux/nios2/atomic-machine.h
@@ -16,8 +16,8 @@
    License along with the GNU C Library.  If not, see
    <http://www.gnu.org/licenses/>.  */
 
-#ifndef _NIOS2_BITS_ATOMIC_H
-#define _NIOS2_BITS_ATOMIC_H 1
+#ifndef _NIOS2_ATOMIC_MACHINE_H
+#define _NIOS2_ATOMIC_MACHINE_H 1
 
 #include <stdint.h>
 
@@ -89,4 +89,4 @@ typedef uintmax_t uatomic_max_t;
 
 #define atomic_full_barrier()  ({ asm volatile ("sync"); })
 
-#endif /* _NIOS2_BITS_ATOMIC_H */
+#endif /* _NIOS2_ATOMIC_MACHINE_H */
diff --git a/sysdeps/unix/sysv/linux/sh/bits/atomic.h b/sysdeps/unix/sysv/linux/sh/atomic-machine.h
similarity index 100%
rename from sysdeps/unix/sysv/linux/sh/bits/atomic.h
rename to sysdeps/unix/sysv/linux/sh/atomic-machine.h
diff --git a/sysdeps/x86_64/bits/atomic.h b/sysdeps/x86_64/atomic-machine.h
similarity index 100%
rename from sysdeps/x86_64/bits/atomic.h
rename to sysdeps/x86_64/atomic-machine.h

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

Summary of changes:
 ChangeLog                                          |   75 +++
 NEWS                                               |   10 +-
 bits/atomic.h                                      |   42 --
 include/atomic.h                                   |    2 +-
 sysdeps/aarch64/atomic-machine.h                   |  173 +++++++
 sysdeps/aarch64/bits/atomic.h                      |  173 -------
 sysdeps/alpha/{bits/atomic.h => atomic-machine.h}  |    0
 sysdeps/arm/atomic-machine.h                       |  162 +++++++
 sysdeps/arm/bits/atomic.h                          |  162 -------
 sysdeps/generic/atomic-machine.h                   |   42 ++
 sysdeps/i386/{bits/atomic.h => atomic-machine.h}   |    0
 sysdeps/ia64/{bits/atomic.h => atomic-machine.h}   |    0
 sysdeps/m68k/coldfire/atomic-machine.h             |   72 +++
 sysdeps/m68k/coldfire/bits/atomic.h                |   72 ---
 .../m68020/{bits/atomic.h => atomic-machine.h}     |    0
 .../microblaze/{bits/atomic.h => atomic-machine.h} |    0
 sysdeps/mips/atomic-machine.h                      |  503 ++++++++++++++++++++
 sysdeps/mips/bits/atomic.h                         |  503 --------------------
 sysdeps/powerpc/atomic-machine.h                   |  345 ++++++++++++++
 sysdeps/powerpc/bits/atomic.h                      |  345 --------------
 sysdeps/powerpc/powerpc32/atomic-machine.h         |  144 ++++++
 sysdeps/powerpc/powerpc32/bits/atomic.h            |  144 ------
 sysdeps/powerpc/powerpc64/atomic-machine.h         |  274 +++++++++++
 sysdeps/powerpc/powerpc64/bits/atomic.h            |  274 -----------
 sysdeps/s390/{bits/atomic.h => atomic-machine.h}   |    0
 sysdeps/sparc/sparc32/atomic-machine.h             |  360 ++++++++++++++
 sysdeps/sparc/sparc32/bits/atomic.h                |  360 --------------
 .../sparcv9/{bits/atomic.h => atomic-machine.h}    |    0
 .../sparc64/{bits/atomic.h => atomic-machine.h}    |    0
 sysdeps/tile/{bits/atomic.h => atomic-machine.h}   |    0
 sysdeps/tile/tilegx/atomic-machine.h               |   60 +++
 sysdeps/tile/tilegx/bits/atomic.h                  |   60 ---
 sysdeps/tile/tilepro/atomic-machine.h              |   88 ++++
 sysdeps/tile/tilepro/bits/atomic.h                 |   88 ----
 sysdeps/unix/sysv/linux/arm/atomic-machine.h       |  107 +++++
 sysdeps/unix/sysv/linux/arm/bits/atomic.h          |  107 -----
 sysdeps/unix/sysv/linux/hppa/atomic-machine.h      |  103 ++++
 sysdeps/unix/sysv/linux/hppa/bits/atomic.h         |  103 ----
 .../unix/sysv/linux/m68k/coldfire/atomic-machine.h |  106 ++++
 .../unix/sysv/linux/m68k/coldfire/bits/atomic.h    |  106 ----
 sysdeps/unix/sysv/linux/nios2/atomic-machine.h     |   92 ++++
 sysdeps/unix/sysv/linux/nios2/bits/atomic.h        |   92 ----
 .../linux/sh/{bits/atomic.h => atomic-machine.h}   |    0
 sysdeps/x86_64/{bits/atomic.h => atomic-machine.h} |    0
 44 files changed, 2712 insertions(+), 2637 deletions(-)
 delete mode 100644 bits/atomic.h
 create mode 100644 sysdeps/aarch64/atomic-machine.h
 delete mode 100644 sysdeps/aarch64/bits/atomic.h
 rename sysdeps/alpha/{bits/atomic.h => atomic-machine.h} (100%)
 create mode 100644 sysdeps/arm/atomic-machine.h
 delete mode 100644 sysdeps/arm/bits/atomic.h
 create mode 100644 sysdeps/generic/atomic-machine.h
 rename sysdeps/i386/{bits/atomic.h => atomic-machine.h} (100%)
 rename sysdeps/ia64/{bits/atomic.h => atomic-machine.h} (100%)
 create mode 100644 sysdeps/m68k/coldfire/atomic-machine.h
 delete mode 100644 sysdeps/m68k/coldfire/bits/atomic.h
 rename sysdeps/m68k/m680x0/m68020/{bits/atomic.h => atomic-machine.h} (100%)
 rename sysdeps/microblaze/{bits/atomic.h => atomic-machine.h} (100%)
 create mode 100644 sysdeps/mips/atomic-machine.h
 delete mode 100644 sysdeps/mips/bits/atomic.h
 create mode 100644 sysdeps/powerpc/atomic-machine.h
 delete mode 100644 sysdeps/powerpc/bits/atomic.h
 create mode 100644 sysdeps/powerpc/powerpc32/atomic-machine.h
 delete mode 100644 sysdeps/powerpc/powerpc32/bits/atomic.h
 create mode 100644 sysdeps/powerpc/powerpc64/atomic-machine.h
 delete mode 100644 sysdeps/powerpc/powerpc64/bits/atomic.h
 rename sysdeps/s390/{bits/atomic.h => atomic-machine.h} (100%)
 create mode 100644 sysdeps/sparc/sparc32/atomic-machine.h
 delete mode 100644 sysdeps/sparc/sparc32/bits/atomic.h
 rename sysdeps/sparc/sparc32/sparcv9/{bits/atomic.h => atomic-machine.h} (100%)
 rename sysdeps/sparc/sparc64/{bits/atomic.h => atomic-machine.h} (100%)
 rename sysdeps/tile/{bits/atomic.h => atomic-machine.h} (100%)
 create mode 100644 sysdeps/tile/tilegx/atomic-machine.h
 delete mode 100644 sysdeps/tile/tilegx/bits/atomic.h
 create mode 100644 sysdeps/tile/tilepro/atomic-machine.h
 delete mode 100644 sysdeps/tile/tilepro/bits/atomic.h
 create mode 100644 sysdeps/unix/sysv/linux/arm/atomic-machine.h
 delete mode 100644 sysdeps/unix/sysv/linux/arm/bits/atomic.h
 create mode 100644 sysdeps/unix/sysv/linux/hppa/atomic-machine.h
 delete mode 100644 sysdeps/unix/sysv/linux/hppa/bits/atomic.h
 create mode 100644 sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
 delete mode 100644 sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
 create mode 100644 sysdeps/unix/sysv/linux/nios2/atomic-machine.h
 delete mode 100644 sysdeps/unix/sysv/linux/nios2/bits/atomic.h
 rename sysdeps/unix/sysv/linux/sh/{bits/atomic.h => atomic-machine.h} (100%)
 rename sysdeps/x86_64/{bits/atomic.h => atomic-machine.h} (100%)


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]