aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/m32r
diff options
context:
space:
mode:
authorJeff Law <jlaw@localhost.localdomain>2021-08-31 09:48:02 -0400
committerJeff Law <jlaw@localhost.localdomain>2021-08-31 09:54:42 -0400
commitd158c3f77738e1d44aa117c1674e9ec8dee38661 (patch)
tree354e62455c2ecb699cc800b868c9f80dc78010da /gcc/config/m32r
parenteca730231d5493647bb1e508fb1f853ffee0e95a (diff)
downloadgcc-d158c3f77738e1d44aa117c1674e9ec8dee38661.zip
gcc-d158c3f77738e1d44aa117c1674e9ec8dee38661.tar.gz
gcc-d158c3f77738e1d44aa117c1674e9ec8dee38661.tar.bz2
More stabs removal.
gcc/ * config.gcc (cris-*-elf, cris-*-none): Remove dbxelf.h from tm_file. (m32r-*-elf, m32rle-*-elf, m32r-*-linux): Likewise. (mn10300-*-*, am33_2.0-*-linux*): Likewise. (xtensa*-*-elf, xtensa*-*-linux, xtensa*-*-uclinux): Likewise. (m32c-*-elf*, m32c-*-rtems*): Likewise. * config/cris/cris.h (DBX_NO_XREFS): Remove. (DBX_CONTIN_LENGTH, DBX_CONTIN_CHAR): Likewise. * config/m32r/m32r.h (DBXOUT_SOURCE_LINE): Likewise. (DBX_DEBUGGING_INFO, DBX_CONTIN_LENGTH): Likewise. * config/mn10300/mn10300.h (DEFAULT_GDB_EXTENSIONS): Likewise. * config/mn10300/linux.h (DBX_REGISTER_NAMES): Likewise.
Diffstat (limited to 'gcc/config/m32r')
-rw-r--r--gcc/config/m32r/m32r.h28
1 files changed, 1 insertions, 27 deletions
diff --git a/gcc/config/m32r/m32r.h b/gcc/config/m32r/m32r.h
index 83a4b0b..047805f 100644
--- a/gcc/config/m32r/m32r.h
+++ b/gcc/config/m32r/m32r.h
@@ -769,29 +769,6 @@ L2: .word STATIC
/* Globalizing directive for a label. */
#define GLOBAL_ASM_OP "\t.global\t"
-/* We do not use DBX_LINES_FUNCTION_RELATIVE or
- dbxout_stab_value_internal_label_diff here because
- we need to use .debugsym for the line label. */
-
-#define DBX_OUTPUT_SOURCE_LINE(file, line, counter) \
- do \
- { \
- const char * begin_label = \
- XSTR (XEXP (DECL_RTL (current_function_decl), 0), 0); \
- char label[64]; \
- ASM_GENERATE_INTERNAL_LABEL (label, "LM", counter); \
- \
- dbxout_begin_stabn_sline (line); \
- assemble_name (file, label); \
- putc ('-', file); \
- assemble_name (file, begin_label); \
- fputs ("\n\t.debugsym ", file); \
- assemble_name (file, label); \
- putc ('\n', file); \
- counter += 1; \
- } \
- while (0)
-
/* How to refer to registers in assembler output.
This sequence is indexed by compiler's hard-register-number (see above). */
#ifndef SUBTARGET_REGISTER_NAMES
@@ -930,16 +907,13 @@ L2: .word STATIC
/* Debugging information. */
-/* Generate DBX and DWARF debugging information. */
-#define DBX_DEBUGGING_INFO 1
+/* Generate DWARF debugging information. */
#define DWARF2_DEBUGGING_INFO 1
/* Use DWARF2 debugging info by default. */
#undef PREFERRED_DEBUGGING_TYPE
#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
-/* Turn off splitting of long stabs. */
-#define DBX_CONTIN_LENGTH 0
/* Miscellaneous. */