fr30.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
authorTom Tromey <tromey@redhat.com>
Wed, 20 Feb 2002 18:31:24 +0000 (18:31 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Wed, 20 Feb 2002 18:31:24 +0000 (18:31 +0000)
* 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

gcc/ChangeLog
gcc/config/cris/cris.h
gcc/config/fr30/fr30.h
gcc/config/pj/pj.h
gcc/config/sh/sh.h
gcc/dwarf2out.c

index f902e89954d2949c1fc413199f0d74b7e4adcee9..2b0a2b51989fed80c28997a799e3a6b9994595d3 100644 (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>
 
        * config/rs6000/rs6000.h (LEGITIMATE_OFFSET_ADDRESS_P): Look
index e2cb514a7d19250ca2ca7acad3d43f8149dedce7..9ddd065dc7f62e99b4b88020b46f40af5f8c6064 100644 (file)
@@ -1748,9 +1748,7 @@ call_ ## FUNC (void)                                              \
 
 
 /* Node: SDB and DWARF */
-
-#define DWARF_LINE_MIN_INSTR_LENGTH 2
-
+/* (no definitions) */
 
 /* Node: Cross-compilation */
 #define REAL_ARITHMETIC
index 34e52a8361b3102cd7490450ac62acb65f5ab2a6..dd19f757da8a5d005c05c8d1cbb9ca827f23c939 100644 (file)
@@ -1355,16 +1355,6 @@ fprintf (STREAM, "\t.word .L%d\n", VALUE)
 #define ASM_OUTPUT_ALIGN(STREAM, POWER) \
   fprintf ((STREAM), "\t.p2align %d\n", (POWER))
 
-/*}}}*/ \f
-/*{{{  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
-     
 /*}}}*/ \f
 /*{{{  Miscellaneous Parameters.  */ 
 
index 655ae0d64981c26c10e11be4f16a90eee05002a0..0adf02a3f11521612948ba671ba0764fc0069e60 100644 (file)
@@ -1252,7 +1252,6 @@ extern short pj_debugreg_renumber_vec[FIRST_PSEUDO_REGISTER];
 #undef  PREFERRED_DEBUGGING_TYPE 
 #define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
 #define DWARF2_UNWIND_INFO 1
-#define DWARF_LINE_MIN_INSTR_LENGTH 1
 
 \f
 /* varargs and stdarg builtins.  */
index 800f3d9ee7d4de4c15f5efebea95a642ff6b2bae..880ab4168e17232a78ad17ae471ada5366218372 100644 (file)
@@ -3288,8 +3288,6 @@ extern struct rtx_def *fpscr_rtx;
 #define MD_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__
 /* SH constant pool breaks the devices in crtstuff.c to control section
    in where code resides.  We have to write it as asm code.  */
index 526766b3e5fc5a8c0867a1d58b406840e205eab5..4eb18c7c7a87e65d29ef9cd9f86e5608e4d69b18 100644 (file)
@@ -3270,10 +3270,10 @@ extern int flag_traditional;
    purposes only.  Since GCC generates assembly language, we have
    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
-   and DW_LNS_fixed_advance_pc line information commands.  */
-#ifndef DWARF_LINE_MIN_INSTR_LENGTH
-#define DWARF_LINE_MIN_INSTR_LENGTH 4
-#endif
+   and DW_LNS_fixed_advance_pc line information commands.
+   Accordingly, we define this as `1', which is "correct enough" for
+   all architectures, and don't let the target override.  */
+#define DWARF_LINE_MIN_INSTR_LENGTH 1
 
 /* Minimum line offset in a special line info. opcode.
    This value was chosen to give a reasonable range of values.  */