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.15-1087-gf726f0b


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  f726f0bb75f930c46bbd3b2ce81c29fa28c6292b (commit)
      from  13764867feabae242e5a21d4ceee38d3648d1b62 (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=f726f0bb75f930c46bbd3b2ce81c29fa28c6292b

commit f726f0bb75f930c46bbd3b2ce81c29fa28c6292b
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed May 30 14:50:32 2012 -0700

    Use the same bits/endian.h for i386/x86_64

diff --git a/ChangeLog b/ChangeLog
index 5b1346e..2f9d7a5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,10 @@
 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
 
 	[BZ #14117]
+	* sysdeps/i386/bits/endian.h: Removed.
+	* sysdeps/x86_64/bits/endian.h: Renamed to ...
+	* sysdeps/x86/bits/endian.h: This.
+
 	* sysdeps/i386/bits/byteswap.h: Removed.
 	* sysdeps/i386/bits/byteswap-16.h: Likewise.
 	* sysdeps/x86_64/bits/byteswap.h: Renamed to ...
diff --git a/sysdeps/i386/bits/endian.h b/sysdeps/x86/bits/endian.h
similarity index 78%
rename from sysdeps/i386/bits/endian.h
rename to sysdeps/x86/bits/endian.h
index 54bd9d1..5a56c72 100644
--- a/sysdeps/i386/bits/endian.h
+++ b/sysdeps/x86/bits/endian.h
@@ -1,4 +1,4 @@
-/* i386 is little-endian.  */
+/* i386/x86_64 are little-endian.  */
 
 #ifndef _ENDIAN_H
 # error "Never use <bits/endian.h> directly; include <endian.h> instead."
diff --git a/sysdeps/x86_64/bits/endian.h b/sysdeps/x86_64/bits/endian.h
deleted file mode 100644
index 2f59ead..0000000
--- a/sysdeps/x86_64/bits/endian.h
+++ /dev/null
@@ -1,7 +0,0 @@
-/* x86_64 is little-endian.  */
-
-#ifndef _ENDIAN_H
-# error "Never use <bits/endian.h> directly; include <endian.h> instead."
-#endif
-
-#define __BYTE_ORDER __LITTLE_ENDIAN

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

Summary of changes:
 ChangeLog                           |    4 ++++
 sysdeps/{i386 => x86}/bits/endian.h |    2 +-
 sysdeps/x86_64/bits/endian.h        |    7 -------
 3 files changed, 5 insertions(+), 8 deletions(-)
 rename sysdeps/{i386 => x86}/bits/endian.h (78%)
 delete mode 100644 sysdeps/x86_64/bits/endian.h


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]