merge from gcc
authorDJ Delorie <dj@redhat.com>
Mon, 29 Nov 2010 16:34:15 +0000 (16:34 +0000)
committerDJ Delorie <dj@redhat.com>
Mon, 29 Nov 2010 16:34:15 +0000 (16:34 +0000)
libdecnumber/ChangeLog
libdecnumber/dconfig.h
libiberty/ChangeLog
libiberty/setproctitle.c

index d2d6d5947ec881a60263f9042450314828ab70b6..101cda9e37cc9b17a18b7a8b5151724de0982fa7 100644 (file)
@@ -1,3 +1,8 @@
+2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * dconfig.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Delete.
+       (WORDS_BIG_ENDIAN): Define based on value of __FLOAT_WORD_ORDER__.
+
 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
 
        * dconfig.h (LIBGCC2_WORDS_BIG_ENDIAN): Delete.
index 26b963c9480f526d2842806599837bf0d74cf042..503cb61e02d9708a4808e7c2806cdf971b9b7ac5 100644 (file)
@@ -28,12 +28,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
 #include "coretypes.h"
 #include "tm.h"
 
-#ifndef LIBGCC2_FLOAT_WORDS_BIG_ENDIAN
-#define LIBGCC2_FLOAT_WORDS_BIG_ENDIAN \
-  (__BYTE_ORDER__ != __ORDER_LITTLE_ENDIAN__)
-#endif
-
-#if LIBGCC2_FLOAT_WORDS_BIG_ENDIAN
+#if __FLOAT_WORD_ORDER__ == __ORDER_BIG_ENDIAN__
 #define WORDS_BIGENDIAN 1
 #endif
 
index 37d97868c6c3959dffb88813eca1fa81edb5725d..bbd5aafb8c35ea1d949bb96200a4bfe0bb84bdfc 100644 (file)
@@ -1,3 +1,7 @@
+2010-11-29  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * setproctitle.c [HAVE_SYS_PRCTL_H]: Include <sys/types.h>.
+
 2010-11-20  Anthony Green  <green@moxielogic.com>
 
        * configure.ac: Turn PR_SET_NAME link test into a test for
index ceb0a3894cce33ddfd033ba83d823794e2c2d083..a22fb1f1b56902301735a14d5e4b5726c33a988b 100644 (file)
@@ -21,6 +21,7 @@ Boston, MA 02110-1301, USA.  */
 #include "config.h"
 #endif
 #ifdef HAVE_SYS_PRCTL_H
+#include <sys/types.h>
 #include <sys/prctl.h>
 #endif
 #include "ansidecl.h"