summaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2000-11-08 02:18:00 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2000-11-08 02:18:00 +0000
commit1134a0280f4d6354a8e8576525da101d770dc906 (patch)
tree039cf362a9d26bfab7e7bde482045c4c205f1b48 /gcc/dwarf2out.c
parentaef29c61140159457091dc5ee4292e8a9c8c83cc (diff)
downloadgcc-1134a0280f4d6354a8e8576525da101d770dc906.tar.gz
* dwarfout.c (INSN_LABEL_FMT): Remove.
(output_label_die): Use ASM_GENERATE_INTERNAL_LABEL. (dwarfout_label): Remove. * dwarfout.h: Remove it's prototype. * dwarf2out.c (INSN_LABEL_FMT): Remove. (gen_label_die): Use ASM_GENERATE_INTERNAL_LABEL. (dwarf2out_label): Remove. * dwarf2out.h: Remove it's prototype. * final.c (final_scan_insn): Don't call dwarf[2]out_label. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37310 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r--gcc/dwarf2out.c26
1 files changed, 1 insertions, 25 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 507c9a7d3e3..a5517a2436b 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -3594,9 +3594,6 @@ static char debug_line_section_label[MAX_ARTIFICIAL_LABEL_BYTES];
#ifndef BSS_END_LABEL
#define BSS_END_LABEL "Lebss"
#endif
-#ifndef INSN_LABEL_FMT
-#define INSN_LABEL_FMT "LI%u_"
-#endif
#ifndef BLOCK_BEGIN_LABEL
#define BLOCK_BEGIN_LABEL "LBB"
#endif
@@ -9824,7 +9821,6 @@ gen_label_die (decl, context_die)
register dw_die_ref lbl_die = new_die (DW_TAG_label, context_die);
register rtx insn;
char label[MAX_ARTIFICIAL_LABEL_BYTES];
- char label2[MAX_ARTIFICIAL_LABEL_BYTES];
if (origin != NULL)
add_abstract_origin_attribute (lbl_die, origin);
@@ -9852,9 +9848,7 @@ gen_label_die (decl, context_die)
if (INSN_DELETED_P (insn))
abort ();
- sprintf (label2, INSN_LABEL_FMT, current_funcdef_number);
- ASM_GENERATE_INTERNAL_LABEL (label, label2,
- (unsigned) INSN_UID (insn));
+ ASM_GENERATE_INTERNAL_LABEL (label, "L", CODE_LABEL_NUMBER (insn));
add_AT_lbl_id (lbl_die, DW_AT_low_pc, label);
}
}
@@ -10966,24 +10960,6 @@ dwarf2out_ignore_block (block)
return 1;
}
-/* Output a marker (i.e. a label) at a point in the assembly code which
- corresponds to a given source level label. */
-
-void
-dwarf2out_label (insn)
- register rtx insn;
-{
- char label[MAX_ARTIFICIAL_LABEL_BYTES];
-
- if (debug_info_level >= DINFO_LEVEL_NORMAL)
- {
- function_section (current_function_decl);
- sprintf (label, INSN_LABEL_FMT, current_funcdef_number);
- ASM_OUTPUT_DEBUG_LABEL (asm_out_file, label,
- (unsigned) INSN_UID (insn));
- }
-}
-
/* Lookup a filename (in the list of filenames that we know about here in
dwarf2out.c) and return its "index". The index of each (known) filename is
just a unique number which is associated with only that one filename.