|
|
1.1 root 1: /* Definitions of target machine for GNU compiler. Iris version 4. 1.1.1.2 ! root 2: Copyright (C) 1991, 1993 Free Software Foundation, Inc. 1.1 root 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: 1.1.1.2 ! root 26: /* Profiling is supported via libprof1.a not -lc_p as in Irix 3. */ ! 27: #undef STARTFILE_SPEC ! 28: #define STARTFILE_SPEC \ ! 29: "%{pg:gcrt1.o%s}%{!pg:%{p:mcrt1.o%s libprof1.a%s}%{!p:crt1.o%s}}" ! 30: ! 31: #undef LIB_SPEC ! 32: #define LIB_SPEC \ ! 33: "%{!p:%{!pg:%{!static:%{!g*:-lc_s}}}}%{p:libprof1.a%s}%{pg:libprof1.a%s} -lc crtn.o%s" ! 34: ! 35: /* Some assemblers have a bug that causes backslash escaped chars in .ascii ! 36: to be misassembled, so we just completely avoid it. */ 1.1 root 37: #undef ASM_OUTPUT_ASCII 38: #define ASM_OUTPUT_ASCII(FILE,PTR,LEN) \ 1.1.1.2 ! root 39: do { \ 1.1 root 40: unsigned char *s; \ 41: int i; \ 42: for (i = 0, s = (unsigned char *)(PTR); i < (LEN); s++, i++) \ 43: { \ 44: if ((i % 8) == 0) \ 45: fputs ("\n\t.byte\t", (FILE)); \ 46: fprintf ((FILE), "%s0x%x", (i%8?",":""), (unsigned)*s); \ 47: } \ 48: fputs ("\n", (FILE)); \ 1.1.1.2 ! root 49: } while (0)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.