1/* Definitions for Intel 386 running FreeBSD with either a.out or ELF format
2 Copyright (C) 1994, 1995 Free Software Foundation, Inc.
3 Contributed by Eric Youngdale.
4 Modified for stabs-in-ELF by H.J. Lu.
5 Adapted from Linux version by John Polstra.
6 Added support for generating "old a.out gas" on the fly by Peter Wemm.
7
8This file is part of GNU CC.
--- 105 unchanged lines hidden (view full) ---
114#undef ASM_FILE_START
115#define ASM_FILE_START(FILE) \
116 do { \
117 output_file_directive (FILE, main_input_filename); \
118 if (TARGET_ELF) \
119 fprintf (FILE, "\t.version\t\"01.01\"\n"); \
120 } while (0)
121
122/* Identify the front-end which produced this file. To keep symbol
123 space down, and not confuse kdb, only do this if the language is
124 not C. (svr4.h defines ASM_IDENTIFY_GCC but neglects this) */
125#undef ASM_IDENTIFY_LANGUAGE
126#define ASM_IDENTIFY_LANGUAGE(STREAM) \
127{ \
128 if (strcmp (lang_identify (), "c") != 0) \
129 output_lang_identify (STREAM); \
130}
131
132/* This is how to store into the string BUF
133 the symbol_ref name of an internal numbered label where
134 PREFIX is the class of label and NUM is the number within the class.
135 This is suitable for output with `assemble_name'. */
136#undef ASM_GENERATE_INTERNAL_LABEL
137#define ASM_GENERATE_INTERNAL_LABEL(BUF,PREFIX,NUMBER) \
138 sprintf ((BUF), "*%s%s%d", (TARGET_UNDERSCORES) ? "" : ".", \
139 (PREFIX), (NUMBER))
--- 425 unchanged lines hidden ---
2 Copyright (C) 1994, 1995 Free Software Foundation, Inc.
3 Contributed by Eric Youngdale.
4 Modified for stabs-in-ELF by H.J. Lu.
5 Adapted from Linux version by John Polstra.
6 Added support for generating "old a.out gas" on the fly by Peter Wemm.
7
8This file is part of GNU CC.
--- 105 unchanged lines hidden (view full) ---
114#undef ASM_FILE_START
115#define ASM_FILE_START(FILE) \
116 do { \
117 output_file_directive (FILE, main_input_filename); \
118 if (TARGET_ELF) \
119 fprintf (FILE, "\t.version\t\"01.01\"\n"); \
120 } while (0)
121
122/* Identify the front-end which produced this file. To keep symbol
123 space down, and not confuse kdb, only do this if the language is
124 not C. (svr4.h defines ASM_IDENTIFY_GCC but neglects this) */
125#undef ASM_IDENTIFY_LANGUAGE
126#define ASM_IDENTIFY_LANGUAGE(STREAM) \
127{ \
128 if (strcmp (lang_identify (), "c") != 0) \
129 output_lang_identify (STREAM); \
130}
131
132/* This is how to store into the string BUF
133 the symbol_ref name of an internal numbered label where
134 PREFIX is the class of label and NUM is the number within the class.
135 This is suitable for output with `assemble_name'. */
136#undef ASM_GENERATE_INTERNAL_LABEL
137#define ASM_GENERATE_INTERNAL_LABEL(BUF,PREFIX,NUMBER) \
138 sprintf ((BUF), "*%s%s%d", (TARGET_UNDERSCORES) ? "" : ".", \
139 (PREFIX), (NUMBER))
--- 425 unchanged lines hidden ---