* Add mips support to sid/include/sidtypes.h
@ 2005-01-27 0:15 Thiemo Seufer
2005-01-27 14:02 ` Frank Ch. Eigler
0 siblings, 1 reply; 2+ messages in thread
From: Thiemo Seufer @ 2005-01-27 0:15 UTC (permalink / raw)
To: sid
[ 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"
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Add mips support to sid/include/sidtypes.h
2005-01-27 0:15 Add mips support to sid/include/sidtypes.h Thiemo Seufer
@ 2005-01-27 14:02 ` Frank Ch. Eigler
0 siblings, 0 replies; 2+ messages in thread
From: Frank Ch. Eigler @ 2005-01-27 14:02 UTC (permalink / raw)
To: Thiemo Seufer; +Cc: sid
[-- Attachment #1: Type: text/plain, Size: 129 bytes --]
Hi -
> this patch adds support for MIPS, both endiannesses, to
> sid/include/sidtypes.h.
Applied, thank you.
- FChE
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-01-27 14:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-27 0:15 Add mips support to sid/include/sidtypes.h Thiemo Seufer
2005-01-27 14:02 ` Frank Ch. Eigler
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).