summaryrefslogtreecommitdiff
path: root/gcc/defaults.h
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2002-07-30 12:34:31 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2002-07-30 12:34:31 +0000
commit4ad5e05d7fc8e0544b8dbf9347e93376e4892630 (patch)
tree20b499ae703de470112842afebde469eff6420f4 /gcc/defaults.h
parent8a4a72424f896e2eece646b980dcf4c38c420d24 (diff)
downloadgcc-4ad5e05d7fc8e0544b8dbf9347e93376e4892630.tar.gz
alpha.h, [...] (ASM_OUTPUT_LABEL): Delete definition.
* alpha.h, arc.h, arm/aout.h, avr.h, c4x.h, cris.h, d30v.h, darwin.h, dsp16xx.h, fr30.h, h8300.h, i370.h, i386.h, i960.h, ip2k.h, m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, mips.h, mn10200.h, mn10300.h, ns32k.h, pa/pa-linux.h, pdp11.h, romp.h, rs6000/sysv4.h, s390/linux.h, sh.h, sparc.h, stormy16.h, v850.h, vax.h, xtensa.h (ASM_OUTPUT_LABEL): Delete definition. * defaults.h (ASM_OUTPUT_LABEL): Provide a default. * doc/tm.texi (ASM_OUTPUT_LABEL): Update docs. From-SVN: r55872
Diffstat (limited to 'gcc/defaults.h')
-rw-r--r--gcc/defaults.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/defaults.h b/gcc/defaults.h
index 0bbcc21eeb2..3553490dcee 100644
--- a/gcc/defaults.h
+++ b/gcc/defaults.h
@@ -140,6 +140,14 @@ do { fputs (integer_asm_op (POINTER_SIZE / UNITS_PER_WORD, TRUE), FILE); \
#endif
#endif
+/* This is how to output the definition of a user-level label named
+ NAME, such as the label on a static function or variable NAME. */
+
+#ifndef ASM_OUTPUT_LABEL
+#define ASM_OUTPUT_LABEL(FILE,NAME) \
+ do { assemble_name ((FILE), (NAME)); fputs (":\n", (FILE)); } while (0)
+#endif
+
/* This is how to output a reference to a user-level label named NAME. */
#ifndef ASM_OUTPUT_LABELREF