summaryrefslogtreecommitdiff
path: root/gcc/defaults.h
diff options
context:
space:
mode:
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>2000-11-01 00:20:34 +0000
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>2000-11-01 00:20:34 +0000
commit64e17633284034ab275dc8df8f19a3a1c9c1c2db (patch)
treef74b9a4d296a145ceee676bb737c29f0db6b96e5 /gcc/defaults.h
parent17443ba5ed84f4e512e7549366a4ac5fd912f87e (diff)
downloadgcc-64e17633284034ab275dc8df8f19a3a1c9c1c2db.tar.gz
Make ia64 port use tags instead of labels for debug info labels.
* defaults.h (ASM_OUTPUT_DEBUG_LABEL): New. * tm.texi (ASM_OUTPUT_DEBUG_LABEL): Document. * dwarf2out.c (dwarf2out_begin_block): Use ASM_OUTPUT_DEBUG_LABEL instead of ASM_OUTPUT_INTERNAL_LABEL. (dwarf2out_end_block, dwarf2out_label): Likewise. * final.c (final_scan_insn, case NOTE_INSN_DELETED_LABEL): Likewise * config/ia64/ia64.h (ASM_OUTPUT_DEBUG_LABEL): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37174 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/defaults.h')
-rw-r--r--gcc/defaults.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/defaults.h b/gcc/defaults.h
index d5e88845115..b6fe9ec8c86 100644
--- a/gcc/defaults.h
+++ b/gcc/defaults.h
@@ -133,6 +133,15 @@ do { ASM_OUTPUT_LABEL(FILE,LABEL_ALTERNATE_NAME (INSN)); } while (0)
#define ASM_OUTPUT_LABELREF(FILE,NAME) asm_fprintf ((FILE), "%U%s", (NAME))
#endif
+/* Allow target to print debug info labels specially. This is useful for
+ VLIW targets, since debug info labels should go into the middle of
+ instruction bundles instead of breaking them. */
+
+#ifndef ASM_OUTPUT_DEBUG_LABEL
+#define ASM_OUTPUT_DEBUG_LABEL(FILE, PREFIX, NUM) \
+ ASM_OUTPUT_INTERNAL_LABEL (FILE, PREFIX, NUM)
+#endif
+
/* This determines whether or not we support weak symbols. */
#ifndef SUPPORTS_WEAK
#ifdef ASM_WEAKEN_LABEL