i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): Remove.

* config/i386/i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): Remove.
	* config/i386/i386.c (i386_dwarf_output_addr_const): Likewise.
	* config/i386/i386-protos.h (i386_dwarf_output_addr_const):
	Likewise.

From-SVN: r91255
This commit is contained in:
Ben Elliston 2004-11-24 23:37:19 +00:00 committed by Ben Elliston
parent 9306cccbb5
commit a312d1f182
4 changed files with 7 additions and 27 deletions

View File

@ -1,3 +1,10 @@
2004-11-24 Ben Elliston <bje@au.ibm.com>
* config/i386/i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): Remove.
* config/i386/i386.c (i386_dwarf_output_addr_const): Likewise.
* config/i386/i386-protos.h (i386_dwarf_output_addr_const):
Likewise.
2004-11-24 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> 2004-11-24 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* tree-sra.c (sra_walk_modify_expr): Handle RHS first, then LHS. * tree-sra.c (sra_walk_modify_expr): Handle RHS first, then LHS.

View File

@ -120,7 +120,6 @@ extern const char *output_387_reg_move (rtx, rtx*);
extern const char *output_fix_trunc (rtx, rtx*); extern const char *output_fix_trunc (rtx, rtx*);
extern const char *output_fp_compare (rtx, rtx*, int, int); extern const char *output_fp_compare (rtx, rtx*, int, int);
extern void i386_dwarf_output_addr_const (FILE*, rtx);
extern void i386_output_dwarf_dtprel (FILE*, int, rtx); extern void i386_output_dwarf_dtprel (FILE*, int, rtx);
extern void ix86_expand_clear (rtx); extern void ix86_expand_clear (rtx);

View File

@ -5911,26 +5911,6 @@ output_pic_addr_const (FILE *file, rtx x, int code)
} }
} }
/* This is called from dwarfout.c via ASM_OUTPUT_DWARF_ADDR_CONST.
We need to handle our special PIC relocations. */
void
i386_dwarf_output_addr_const (FILE *file, rtx x)
{
#ifdef ASM_QUAD
fprintf (file, "%s", TARGET_64BIT ? ASM_QUAD : ASM_LONG);
#else
if (TARGET_64BIT)
abort ();
fprintf (file, "%s", ASM_LONG);
#endif
if (flag_pic)
output_pic_addr_const (file, x, '\0');
else
output_addr_const (file, x);
fputc ('\n', file);
}
/* This is called from dwarf2out.c via ASM_OUTPUT_DWARF_DTPREL. /* This is called from dwarf2out.c via ASM_OUTPUT_DWARF_DTPREL.
We need to emit DTP-relative relocations. */ We need to emit DTP-relative relocations. */

View File

@ -2796,12 +2796,6 @@ do { \
#define JUMP_TABLES_IN_TEXT_SECTION \ #define JUMP_TABLES_IN_TEXT_SECTION \
(!TARGET_64BIT && flag_pic && !HAVE_AS_GOTOFF_IN_DATA) (!TARGET_64BIT && flag_pic && !HAVE_AS_GOTOFF_IN_DATA)
/* A C statement that outputs an address constant appropriate to
for DWARF debugging. */
#define ASM_OUTPUT_DWARF_ADDR_CONST(FILE, X) \
i386_dwarf_output_addr_const ((FILE), (X))
/* Emit a dtp-relative reference to a TLS variable. */ /* Emit a dtp-relative reference to a TLS variable. */
#ifdef HAVE_AS_TLS #ifdef HAVE_AS_TLS