|
|
1.1 ! root 1: /* Definitions of target machine for GNU compiler. Iris version 4. ! 2: Copyright (C) 1991 Free Software Foundation, Inc. ! 3: ! 4: This file is part of GNU CC. ! 5: ! 6: GNU CC is free software; you can redistribute it and/or modify ! 7: it under the terms of the GNU General Public License as published by ! 8: the Free Software Foundation; either version 2, or (at your option) ! 9: any later version. ! 10: ! 11: GNU CC is distributed in the hope that it will be useful, ! 12: but WITHOUT ANY WARRANTY; without even the implied warranty of ! 13: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! 14: GNU General Public License for more details. ! 15: ! 16: You should have received a copy of the GNU General Public License ! 17: along with GNU CC; see the file COPYING. If not, write to ! 18: the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ! 19: ! 20: /* Use atexit for static constructors/destructors, instead of defining ! 21: our own exit function. */ ! 22: #define HAVE_ATEXIT ! 23: ! 24: #include "mips/iris3.h" ! 25: ! 26: /* Assembler is said to have trouble with .ascii with escape chars. ! 27: The quickest way to avoid the problem is not to use .ascii. */ ! 28: #undef ASM_OUTPUT_ASCII ! 29: #define ASM_OUTPUT_ASCII(FILE,PTR,LEN) \ ! 30: { \ ! 31: unsigned char *s; \ ! 32: int i; \ ! 33: for (i = 0, s = (unsigned char *)(PTR); i < (LEN); s++, i++) \ ! 34: { \ ! 35: if ((i % 8) == 0) \ ! 36: fputs ("\n\t.byte\t", (FILE)); \ ! 37: fprintf ((FILE), "%s0x%x", (i%8?",":""), (unsigned)*s); \ ! 38: } \ ! 39: fputs ("\n", (FILE)); \ ! 40: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.