Annotation of gcc/config/tm-i386vgas.h, revision 1.1.1.2

1.1       root        1: /* Definitions for Intel 386 running system V with gnu tools
                      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: 
                     21: #include "tm-i386.h"
                     22: /* Use the bsd assembler syntax.  */
                     23: /* we need to do this because gas is really a bsd style assembler,
                     24:  * and so doesn't work well this these att-isms:
                     25:  *
                     26:  *  ASM_OUTPUT_SKIP is .set .,.+N, which isn't implemented in gas
                     27:  *  ASM_OUTPUT_LOCAL is done with .set .,.+N, but that can't be
                     28:  *   used to define bss static space
                     29:  *
                     30:  * Next is the question of whether to uses underscores.  RMS didn't
                     31:  * like this idea at first, but since it is now obvious that we
                     32:  * need this separate tm file for use with gas, at least to get
                     33:  * dbx debugging info.  */
                     34: 
                     35: #include "tm-bsd386.h"
                     36: 
                     37: /* these come from tm-bsd386.h, but are specific to sequent */
                     38: #undef DBX_NO_XREFS
                     39: #undef DBX_CONTIN_LENGTH
                     40: 
                     41: /* By default, target has a 80387.  */
                     42: 
                     43: #define TARGET_DEFAULT 1
                     44: 
1.1.1.2 ! root       45: #if 0 /* These aren't right for GNU ld.  */
1.1       root       46: /* Use crt1.o as a startup file and crtn.o as a closing file.  */
                     47: 
                     48: #define STARTFILE_SPEC  \
                     49:   "%{pg:gcrt1.o%s}%{!pg:%{p:mcrt1.o%s}%{!p:crt1.o%s}}"
                     50: 
                     51: #define LIB_SPEC "%{p:-L/usr/lib/libp}%{pg:-L/usr/lib/libp} -lc crtn.o%s"
1.1.1.2 ! root       52: #endif
1.1       root       53: 
                     54: /* Specify predefined symbols in preprocessor.  */
                     55: 
                     56: #define CPP_PREDEFINES "-Dunix -Di386"
                     57: 
                     58: /* Allow #sccs in preprocessor.  */
                     59: 
                     60: #define SCCS_DIRECTIVE
                     61: 
                     62: /* Output #ident as a .ident.  */
                     63: 
                     64: #define ASM_OUTPUT_IDENT(FILE, NAME) fprintf (FILE, "\t.ident \"%s\"\n", NAME);
                     65: 
                     66: /* We do not want to output SDB debugging information.  */
                     67: 
                     68: #undef SDB_DEBUGGING_INFO
                     69: 
                     70: /* We want to output DBX debugging information.  */
                     71: 
                     72: #define DBX_DEBUGGING_INFO
                     73: 
                     74: /* Implicit library calls should use memcpy, not bcopy, etc.  */
                     75: 
                     76: #define TARGET_MEM_FUNCTIONS
                     77: 
                     78: /* Writing `int' for a bitfield forces int alignment for the structure.  */
                     79: 
                     80: #define PCC_BITFIELD_TYPE_MATTERS 1
                     81: 
                     82: #undef ASM_FILE_START
                     83: #define ASM_FILE_START(FILE) \
                     84:   fprintf (FILE, "\t.file\t\"%s\"\n", dump_base_name);
                     85: 
                     86: /* This is how to output a reference to a user-level label named NAME.  */
                     87: #undef ASM_OUTPUT_LABELREF
                     88: #define ASM_OUTPUT_LABELREF(FILE,NAME) \
                     89:   fprintf (FILE, "_%s", NAME)
                     90: 
                     91: #if 0  /* People say gas uses the log as the arg to .align.  */
                     92: /* When using gas, .align N aligns to an N-byte boundary.  */
                     93: 
                     94: #undef ASM_OUTPUT_ALIGN
                     95: #define ASM_OUTPUT_ALIGN(FILE,LOG)     \
                     96:      if ((LOG)!=0) fprintf ((FILE), "\t.align %d\n", 1<<(LOG))
                     97: #endif
                     98: 
                     99: /* Align labels, etc. at 4-byte boundaries.  */
                    100: 
                    101: #define ASM_OUTPUT_ALIGN_CODE(FILE) \
                    102:      fprintf ((FILE), "\t.align 2\n");  /* Use log of 4 as arg.  */
                    103: 
                    104: #if 0
                    105: #define ASM_OUTPUT_ALIGN_CODE(FILE) \
                    106:      fprintf ((FILE), "\t.align 4\n");
                    107: #endif
                    108: 
                    109: /* Machines that use the AT&T assembler syntax
                    110:    also return floating point values in an FP register.  */
                    111: /* Define how to find the value returned by a function.
                    112:    VALTYPE is the data type of the value (as a tree).
                    113:    If the precise function being called is known, FUNC is its FUNCTION_DECL;
                    114:    otherwise, FUNC is 0.  */
                    115: 
                    116: #define VALUE_REGNO(MODE) \
                    117:   (((MODE)==SFmode || (MODE)==DFmode) ? FIRST_FLOAT_REG : 0)
                    118: 
                    119: /* 1 if N is a possible register number for a function value. */
                    120: 
                    121: #define FUNCTION_VALUE_REGNO_P(N) ((N) == 0 || (N)== FIRST_FLOAT_REG)

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.