iris5.h (UNALIGNED_INT_ASM_OP, [...]): Define.
authorRainer Orth <ro@TechFak.Uni-Bielefeld.DE>
Tue, 26 Jun 2001 12:12:32 +0000 (12:12 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Tue, 26 Jun 2001 12:12:32 +0000 (12:12 +0000)
* config/mips/iris5.h (UNALIGNED_INT_ASM_OP,
UNALIGNED_SHORT_ASM_OP): Define.
* config/mips/iris6.h (UNALIGNED_INT_ASM_OP,
UNALIGNED_SHORT_ASM_OP): Undef.

From-SVN: r43579

gcc/ChangeLog
gcc/config/mips/iris5.h
gcc/config/mips/iris6.h

index 34c713a..d2db699 100644 (file)
@@ -1,3 +1,10 @@
+2001-06-26  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       * config/mips/iris5.h (UNALIGNED_INT_ASM_OP,
+       UNALIGNED_SHORT_ASM_OP): Define.
+       * config/mips/iris6.h (UNALIGNED_INT_ASM_OP,
+       UNALIGNED_SHORT_ASM_OP): Undef.
+
 Tue Jun 26 12:40:12 CEST 2001  Jan Hubicka  <jh@suse.cz>
 
        * i386.md (float_truncate splitter, and to mov splitters): Add
index 11eacda..59d172c 100644 (file)
@@ -1,5 +1,6 @@
 /* Definitions of target machine for GNU compiler.  Iris version 5.
-   Copyright (C) 1993, 1995, 1996, 1998, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1993, 1995, 1996, 1998, 2000,
+   2001 Free Software Foundation, Inc.
 
 This file is part of GNU CC.
 
@@ -154,6 +155,10 @@ do {                                               \
   fputs (" .text\n", FILE);                    \
 } while (0)
 
+/* To get unaligned data, we have to turn off auto alignment.  */
+#define UNALIGNED_SHORT_ASM_OP         "\t.align 0\n\t.half\t"
+#define UNALIGNED_INT_ASM_OP           "\t.align 0\n\t.word\t"
+
 /* Also do this for libcalls.  */
 #define ASM_OUTPUT_EXTERNAL_LIBCALL(FILE, FUN) \
   mips_output_external_libcall (FILE, XSTR (FUN, 0))
index d7fc219..6f45cbb 100644 (file)
@@ -155,6 +155,8 @@ Boston, MA 02111-1307, USA.  */
 #undef ASM_OUTPUT_UNDEF_FUNCTION
 #undef ASM_OUTPUT_EXTERNAL_LIBCALL
 #undef ASM_DECLARE_FUNCTION_SIZE
+#undef UNALIGNED_SHORT_ASM_OP
+#undef UNALIGNED_INT_ASM_OP
 
 /* Stuff we need for Irix 6 that isn't in Irix 5.  */