public inbox for sid@sourceware.org
 help / color / mirror / Atom feed
From: Thiemo Seufer <ica2_ts@csv.ica.uni-stuttgart.de>
To: sid@sources.redhat.com
Subject: Add mips support to sid/include/sidtypes.h
Date: Thu, 27 Jan 2005 00:15:00 -0000	[thread overview]
Message-ID: <20050127001507.GT15265@rembrandt.csv.ica.uni-stuttgart.de> (raw)

[ 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  <seufer@csv.ica.uni-stuttgart.de>

	* 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"

             reply	other threads:[~2005-01-27  0:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-27  0:15 Thiemo Seufer [this message]
2005-01-27 14:02 ` Frank Ch. Eigler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050127001507.GT15265@rembrandt.csv.ica.uni-stuttgart.de \
    --to=ica2_ts@csv.ica.uni-stuttgart.de \
    --cc=sid@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).