|
|
1.1 root 1: /* Definitions for Intel 386 running system Vr4.
2: Copyright (C) 1988 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 1, 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: /* Written by James Van Artsdalen, Dell Computer Corporation.
21: [email protected] */
22:
23: #include "tm-i386v.h"
24:
25: #undef STANDARD_STARTFILE_PREFIX
26: #define STANDARD_STARTFILE_PREFIX "/usr/ccs/lib/"
27:
28: /* Use crt1.o as a startup file and crtn.o as a closing file. */
29:
30: #undef STARTFILE_SPEC
31: #define STARTFILE_SPEC \
32: "%{pg:gcrt1.o%s}%{!pg:%{p:mcrt1.o%s}%{!p:crt1.o%s}} %{pg:gcrti.o%s}%{!pg:%{p:mcrti.o%s}%{!p:crti.o%s}} values-Xt.o%s"
33:
34: #undef LIB_SPEC
35: #define LIB_SPEC "%{p:-L/usr/lib/libp}%{pg:-L/usr/lib/libp} -Y P,/usr/ccs/lib:/usr/lib -Qy -lc crtn.o%s"
36:
37: /* Brain-damaged v4 include files won't work right if __STDC__ != 0 */
38:
39: #define STDC_VALUE 0
40:
41: /* We do not want to output SDB debugging information. */
42:
43: #undef SDB_DEBUGGING_INFO
44:
45: #undef ASM_FILE_START
46: #define ASM_FILE_START(FILE) \
47: do { \
48: char *p = (char *) strrchr(main_input_filename, '/'); \
49: if (!p++) \
50: p = main_input_filename; \
51: fprintf ((FILE), "\t.file\t\"%s\"\n", p); \
52: } while (0)
1.1.1.2 ! root 53:
! 54: /* SysVr4 has a third "alignment" argument to .comm. It matters when
! 55: linking with PCC generated code when the object is less than word
! 56: length. */
! 57:
! 58: #undef ASM_OUTPUT_COMMON
! 59: #define ASM_OUTPUT_COMMON(FILE, NAME, SIZE, ROUNDED) \
! 60: ( fputs (".comm ", (FILE)), \
! 61: assemble_name ((FILE), (NAME)), \
! 62: fprintf ((FILE), ",%u,%u\n", (SIZE), (SIZE) < 3 ? (SIZE) : 4))
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.