From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30621 invoked by alias); 27 Jan 2005 00:15:45 -0000 Mailing-List: contact sid-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: sid-owner@sources.redhat.com Received: (qmail 30249 invoked from network); 27 Jan 2005 00:15:09 -0000 Received: from unknown (HELO iris1.csv.ica.uni-stuttgart.de) (129.69.118.2) by sourceware.org with SMTP; 27 Jan 2005 00:15:08 -0000 Received: from rembrandt.csv.ica.uni-stuttgart.de ([129.69.118.42]) by iris1.csv.ica.uni-stuttgart.de with esmtp id 1CtxJU-0001wx-00 for ; Thu, 27 Jan 2005 01:15:08 +0100 Received: from ica2_ts by rembrandt.csv.ica.uni-stuttgart.de with local (Exim 3.35 #1 (Debian)) id 1CtxJT-0003Rf-00 for ; Thu, 27 Jan 2005 01:15:07 +0100 Date: Thu, 27 Jan 2005 00:15:00 -0000 To: sid@sources.redhat.com Subject: Add mips support to sid/include/sidtypes.h Message-ID: <20050127001507.GT15265@rembrandt.csv.ica.uni-stuttgart.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6+20040907i From: Thiemo Seufer X-SW-Source: 2005-q1/txt/msg00006.txt.bz2 [ I'm not subscribed to sid@s.r.c, please Cc me for replies ] Hello all, this patch adds support for MIPS, both endiannesses, to sid/include/sidtypes.h. Thiemo /sid/include/ChangeLog 2005-01-26 Thiemo Seufer * sidtypes.h (HOST_BIG_ENDIAN): Add support for both MIPS endiannesses. Index: sid/include/sidtypes.h =================================================================== RCS file: /cvs/src/src/sid/include/sidtypes.h,v retrieving revision 1.3 diff -u -p -r1.3 sidtypes.h --- sid/include/sidtypes.h 16 Dec 2004 21:16:35 -0000 1.3 +++ sid/include/sidtypes.h 26 Jan 2005 23:43:48 -0000 @@ -25,9 +25,9 @@ # define HOST_BIG_ENDIAN true # endif #else -# if defined(__i386__) || defined(__x86_64__) || defined(__alpha__) +# if defined(__i386__) || defined(__x86_64__) || defined(__alpha__) || (defined(__mips__) && defined(_MIPSEL)) # define HOST_BIG_ENDIAN false -# elif defined(__sparc__) || defined(__powerpc__) +# elif defined(__sparc__) || defined(__powerpc__) || (defined(__mips__) && defined(_MIPSEB)) # define HOST_BIG_ENDIAN true # else # error "Unknown host platform"