Commit 1f2cd130 by Kelley Cook Committed by DJ Delorie

bsd.h: Remove ASM_FILE_START.

* config/i386/bsd.h: Remove ASM_FILE_START.
* config/i386/djgpp.h: Likewise.
* config/i386/gas.h (ASM_FILE_START): Output .file before .intel_syntax.

* config/i386/djgpp.h: Move included unix.h, bsd.h, gas.h to ...
* config.gcc (i[34567]86-pc-msdosdjgpp): ... here.

From-SVN: r67919
parent 880efc46
2003-06-13 Kelley Cook <kelleycook@wideopenwest.com>
* config/i386/bsd.h: Remove ASM_FILE_START.
* config/i386/djgpp.h: Likewise.
* config/i386/gas.h (ASM_FILE_START): Output .file before .intel_syntax.
* config/i386/djgpp.h: Move included unix.h, bsd.h, gas.h to ...
* config.gcc (i[34567]86-pc-msdosdjgpp): ... here.
2003-06-13 Vladimir Makarov <vmakarov@redhat.com> 2003-06-13 Vladimir Makarov <vmakarov@redhat.com>
PR bootstrap/10835 PR bootstrap/10835
......
...@@ -36,13 +36,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -36,13 +36,6 @@ Boston, MA 02111-1307, USA. */
#define ASM_LONG "\t.long\t" #define ASM_LONG "\t.long\t"
#define ASM_QUAD "\t.quad\t" /* Should not be used for 32bit compilation. */ #define ASM_QUAD "\t.quad\t" /* Should not be used for 32bit compilation. */
/* Output at beginning of assembler file.
??? I am skeptical of this -- RMS. */
#define ASM_FILE_START(FILE) \
do { output_file_directive (FILE, main_input_filename); \
} while (0)
/* This was suggested, but it shouldn't be right for DBX output. -- RMS /* This was suggested, but it shouldn't be right for DBX output. -- RMS
#define ASM_OUTPUT_SOURCE_FILENAME(FILE, NAME) */ #define ASM_OUTPUT_SOURCE_FILENAME(FILE, NAME) */
......
...@@ -30,10 +30,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -30,10 +30,6 @@ Boston, MA 02111-1307, USA. */
/* Enable parsing of #pragma pack(push,<n>) and #pragma pack(pop). */ /* Enable parsing of #pragma pack(push,<n>) and #pragma pack(pop). */
#define HANDLE_PRAGMA_PACK_PUSH_POP 1 #define HANDLE_PRAGMA_PACK_PUSH_POP 1
#include "i386/unix.h"
#include "i386/bsd.h"
#include "i386/gas.h"
/* If defined, a C expression whose value is a string containing the /* If defined, a C expression whose value is a string containing the
assembler operation to identify the following data as assembler operation to identify the following data as
uninitialized global data. If not defined, and neither uninitialized global data. If not defined, and neither
...@@ -130,17 +126,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -130,17 +126,6 @@ Boston, MA 02111-1307, USA. */
/* Switch into a generic section. */ /* Switch into a generic section. */
#define TARGET_ASM_NAMED_SECTION default_coff_asm_named_section #define TARGET_ASM_NAMED_SECTION default_coff_asm_named_section
/* Output at beginning of assembler file. */
/* The .file command should always begin the output. */
#undef ASM_FILE_START
#define ASM_FILE_START(FILE) \
do { \
if (ix86_asm_dialect == ASM_INTEL) \
fputs ("\t.intel_syntax\n", FILE); \
output_file_directive (FILE, main_input_filename); \
} while (0)
/* This is how to output an assembler line /* This is how to output an assembler line
that says to advance the location counter that says to advance the location counter
to a multiple of 2**LOG bytes. */ to a multiple of 2**LOG bytes. */
......
...@@ -126,7 +126,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -126,7 +126,7 @@ Boston, MA 02111-1307, USA. */
#undef ASM_FILE_START #undef ASM_FILE_START
#define ASM_FILE_START(FILE) \ #define ASM_FILE_START(FILE) \
do { \ do { \
output_file_directive (FILE, main_input_filename); \
if (ix86_asm_dialect == ASM_INTEL) \ if (ix86_asm_dialect == ASM_INTEL) \
fputs ("\t.intel_syntax\n", FILE); \ fputs ("\t.intel_syntax\n", FILE); \
output_file_directive (FILE, main_input_filename); \
} while (0) } while (0)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment