aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2002-02-20 18:31:24 +0000
committerTom Tromey <tromey@gcc.gnu.org>2002-02-20 18:31:24 +0000
commitd94084f79a5fa26e76b3b7697c6674b4223f51f7 (patch)
tree29ac4488f65add79b83b75236dfb4bc44dcc6bc2 /gcc/dwarf2out.c
parent37fa124a73d8cc589f85a7ab34867269ed5e67e9 (diff)
downloadgcc-d94084f79a5fa26e76b3b7697c6674b4223f51f7.zip
gcc-d94084f79a5fa26e76b3b7697c6674b4223f51f7.tar.gz
gcc-d94084f79a5fa26e76b3b7697c6674b4223f51f7.tar.bz2
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
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r--gcc/dwarf2out.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 526766b..4eb18c7 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -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. */