Commit d94084f7 by Tom Tromey Committed by Tom Tromey

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
parent 37fa124a
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
......
...@@ -1748,9 +1748,7 @@ call_ ## FUNC (void) \ ...@@ -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
......
...@@ -1356,16 +1356,6 @@ fprintf (STREAM, "\t.word .L%d\n", VALUE) ...@@ -1356,16 +1356,6 @@ fprintf (STREAM, "\t.word .L%d\n", VALUE)
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. */
/* An alias for a machine mode name. This is the machine mode that elements of /* An alias for a machine mode name. This is the machine mode that elements of
......
...@@ -1252,7 +1252,6 @@ extern short pj_debugreg_renumber_vec[FIRST_PSEUDO_REGISTER]; ...@@ -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. */
......
...@@ -3288,8 +3288,6 @@ extern struct rtx_def *fpscr_rtx; ...@@ -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. */
......
...@@ -3270,10 +3270,10 @@ extern int flag_traditional; ...@@ -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. */
......
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