fr30.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.

* config/fr30/fr30.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
	* config/sh/sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
	* config/pj/pj.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
	* config/cris/cris.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
	* dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Define
	unconditionally.

From-SVN: r49903
This commit is contained in:
Tom Tromey 2002-02-20 18:31:24 +00:00 committed by Tom Tromey
parent 37fa124a73
commit d94084f79a
6 changed files with 14 additions and 20 deletions

View File

@ -1,3 +1,12 @@
2002-02-20 Tom Tromey <tromey@redhat.com>
* config/fr30/fr30.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
* config/sh/sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
* config/pj/pj.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
* config/cris/cris.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
* dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Define
unconditionally.
Wed Feb 20 00:03:25 EST 2002 Alan Matsuoka <alanm@redhat.com> Wed Feb 20 00:03:25 EST 2002 Alan Matsuoka <alanm@redhat.com>
* config/rs6000/rs6000.h (LEGITIMATE_OFFSET_ADDRESS_P): Look * config/rs6000/rs6000.h (LEGITIMATE_OFFSET_ADDRESS_P): Look

View File

@ -1748,9 +1748,7 @@ call_ ## FUNC (void) \
/* Node: SDB and DWARF */ /* Node: SDB and DWARF */
/* (no definitions) */
#define DWARF_LINE_MIN_INSTR_LENGTH 2
/* Node: Cross-compilation */ /* Node: Cross-compilation */
#define REAL_ARITHMETIC #define REAL_ARITHMETIC

View File

@ -1355,16 +1355,6 @@ fprintf (STREAM, "\t.word .L%d\n", VALUE)
#define ASM_OUTPUT_ALIGN(STREAM, POWER) \ #define ASM_OUTPUT_ALIGN(STREAM, POWER) \
fprintf ((STREAM), "\t.p2align %d\n", (POWER)) fprintf ((STREAM), "\t.p2align %d\n", (POWER))
/*}}}*/
/*{{{ Macros for SDB and Dwarf Output. */
/* Define this macro to allow references to structure, union, or enumeration
tags that have not yet been seen to be handled. Some assemblers choke if
forward tags are used, while some require it. */
/* #define SDB_ALLOW_FORWARD_REFERENCES */
#define DWARF_LINE_MIN_INSTR_LENGTH 2
/*}}}*/ /*}}}*/
/*{{{ Miscellaneous Parameters. */ /*{{{ Miscellaneous Parameters. */

View File

@ -1252,7 +1252,6 @@ extern short pj_debugreg_renumber_vec[FIRST_PSEUDO_REGISTER];
#undef PREFERRED_DEBUGGING_TYPE #undef PREFERRED_DEBUGGING_TYPE
#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG #define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
#define DWARF2_UNWIND_INFO 1 #define DWARF2_UNWIND_INFO 1
#define DWARF_LINE_MIN_INSTR_LENGTH 1
/* varargs and stdarg builtins. */ /* varargs and stdarg builtins. */

View File

@ -3288,8 +3288,6 @@ extern struct rtx_def *fpscr_rtx;
#define MD_CAN_REDIRECT_BRANCH(INSN, SEQ) \ #define MD_CAN_REDIRECT_BRANCH(INSN, SEQ) \
sh_can_redirect_branch ((INSN), (SEQ)) sh_can_redirect_branch ((INSN), (SEQ))
#define DWARF_LINE_MIN_INSTR_LENGTH 2
#if (defined CRT_BEGIN || defined CRT_END) && ! __SHMEDIA__ #if (defined CRT_BEGIN || defined CRT_END) && ! __SHMEDIA__
/* SH constant pool breaks the devices in crtstuff.c to control section /* SH constant pool breaks the devices in crtstuff.c to control section
in where code resides. We have to write it as asm code. */ in where code resides. We have to write it as asm code. */

View File

@ -3270,10 +3270,10 @@ extern int flag_traditional;
purposes only. Since GCC generates assembly language, we have purposes only. Since GCC generates assembly language, we have
no a priori knowledge of how many instruction bytes are generated no a priori knowledge of how many instruction bytes are generated
for each source line, and therefore can use only the DW_LNE_set_address for each source line, and therefore can use only the DW_LNE_set_address
and DW_LNS_fixed_advance_pc line information commands. */ and DW_LNS_fixed_advance_pc line information commands.
#ifndef DWARF_LINE_MIN_INSTR_LENGTH Accordingly, we define this as `1', which is "correct enough" for
#define DWARF_LINE_MIN_INSTR_LENGTH 4 all architectures, and don't let the target override. */
#endif #define DWARF_LINE_MIN_INSTR_LENGTH 1
/* Minimum line offset in a special line info. opcode. /* Minimum line offset in a special line info. opcode.
This value was chosen to give a reasonable range of values. */ This value was chosen to give a reasonable range of values. */