From: DJ Delorie Date: Mon, 29 Nov 2010 16:34:15 +0000 (+0000) Subject: merge from gcc X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=531ff9fd96ea76a508d7351f5bd9130cdb7a4f13;p=binutils-gdb.git merge from gcc --- diff --git a/libdecnumber/ChangeLog b/libdecnumber/ChangeLog index d2d6d5947ec..101cda9e37c 100644 --- a/libdecnumber/ChangeLog +++ b/libdecnumber/ChangeLog @@ -1,3 +1,8 @@ +2010-11-24 Nathan Froyd + + * dconfig.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Delete. + (WORDS_BIG_ENDIAN): Define based on value of __FLOAT_WORD_ORDER__. + 2010-10-23 Nathan Froyd * dconfig.h (LIBGCC2_WORDS_BIG_ENDIAN): Delete. diff --git a/libdecnumber/dconfig.h b/libdecnumber/dconfig.h index 26b963c9480..503cb61e02d 100644 --- a/libdecnumber/dconfig.h +++ b/libdecnumber/dconfig.h @@ -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 diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 37d97868c6c..bbd5aafb8c3 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,7 @@ +2010-11-29 Rainer Orth + + * setproctitle.c [HAVE_SYS_PRCTL_H]: Include . + 2010-11-20 Anthony Green * configure.ac: Turn PR_SET_NAME link test into a test for diff --git a/libiberty/setproctitle.c b/libiberty/setproctitle.c index ceb0a3894cc..a22fb1f1b56 100644 --- a/libiberty/setproctitle.c +++ b/libiberty/setproctitle.c @@ -21,6 +21,7 @@ Boston, MA 02110-1301, USA. */ #include "config.h" #endif #ifdef HAVE_SYS_PRCTL_H +#include #include #endif #include "ansidecl.h"