aboutsummaryrefslogtreecommitdiff
path: root/gcc/final.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/final.cc')
-rw-r--r--gcc/final.cc44
1 files changed, 0 insertions, 44 deletions
diff --git a/gcc/final.cc b/gcc/final.cc
index 0352786..c0bfdf6 100644
--- a/gcc/final.cc
+++ b/gcc/final.cc
@@ -83,16 +83,8 @@ along with GCC; see the file COPYING3. If not see
#include "function-abi.h"
#include "common/common-target.h"
-#ifdef XCOFF_DEBUGGING_INFO
-#include "xcoffout.h" /* Needed for external data declarations. */
-#endif
-
#include "dwarf2out.h"
-#ifdef DBX_DEBUGGING_INFO
-#include "dbxout.h"
-#endif
-
/* Most ports don't need to define CC_STATUS_INIT.
So define a null default for it to save conditionalization later. */
#ifndef CC_STATUS_INIT
@@ -2324,19 +2316,6 @@ final_scan_insn_1 (rtx_insn *insn, FILE *file, int optimize_p ATTRIBUTE_UNUSED,
TREE_ASM_WRITTEN (NOTE_BLOCK (insn)) = 1;
BLOCK_IN_COLD_SECTION_P (NOTE_BLOCK (insn)) = in_cold_section_p;
}
- if (write_symbols == DBX_DEBUG)
- {
- location_t *locus_ptr
- = block_nonartificial_location (NOTE_BLOCK (insn));
-
- if (locus_ptr != NULL)
- {
- override_filename = LOCATION_FILE (*locus_ptr);
- override_linenum = LOCATION_LINE (*locus_ptr);
- override_columnnum = LOCATION_COLUMN (*locus_ptr);
- override_discriminator = compute_discriminator (*locus_ptr);
- }
- }
break;
case NOTE_INSN_BLOCK_END:
@@ -2359,27 +2338,6 @@ final_scan_insn_1 (rtx_insn *insn, FILE *file, int optimize_p ATTRIBUTE_UNUSED,
gcc_assert (BLOCK_IN_COLD_SECTION_P (NOTE_BLOCK (insn))
== in_cold_section_p);
}
- if (write_symbols == DBX_DEBUG)
- {
- tree outer_block = BLOCK_SUPERCONTEXT (NOTE_BLOCK (insn));
- location_t *locus_ptr
- = block_nonartificial_location (outer_block);
-
- if (locus_ptr != NULL)
- {
- override_filename = LOCATION_FILE (*locus_ptr);
- override_linenum = LOCATION_LINE (*locus_ptr);
- override_columnnum = LOCATION_COLUMN (*locus_ptr);
- override_discriminator = compute_discriminator (*locus_ptr);
- }
- else
- {
- override_filename = NULL;
- override_linenum = 0;
- override_columnnum = 0;
- override_discriminator = 0;
- }
- }
break;
case NOTE_INSN_DELETED_LABEL:
@@ -4304,8 +4262,6 @@ rest_of_handle_final (void)
if (! quiet_flag)
fflush (asm_out_file);
- /* Write DBX symbols if requested. */
-
/* Note that for those inline functions where we don't initially
know for certain that we will be generating an out-of-line copy,
the first invocation of this routine (rest_of_compilation) will