From d7f4934bc700a83c75393b1647fcfc4abbca799b Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Tue, 26 Jun 2001 12:12:32 +0000 Subject: [PATCH] iris5.h (UNALIGNED_INT_ASM_OP, [...]): Define. * 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 | 7 +++++++ gcc/config/mips/iris5.h | 7 ++++++- gcc/config/mips/iris6.h | 2 ++ 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 34c713a..d2db699 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2001-06-26 Rainer Orth + + * 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 * i386.md (float_truncate splitter, and to mov splitters): Add diff --git a/gcc/config/mips/iris5.h b/gcc/config/mips/iris5.h index 11eacda..59d172c 100644 --- a/gcc/config/mips/iris5.h +++ b/gcc/config/mips/iris5.h @@ -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)) diff --git a/gcc/config/mips/iris6.h b/gcc/config/mips/iris6.h index d7fc219..6f45cbb 100644 --- a/gcc/config/mips/iris6.h +++ b/gcc/config/mips/iris6.h @@ -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. */ -- 2.7.4