aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-01-05 04:46:25 +0000
committerRichard Stallman <rms@gnu.org>1993-01-05 04:46:25 +0000
commit2a00acf0302a5eeb785109e92e69518822d95ae4 (patch)
treef02c7d1bedb1804c4a3e1f51d06ede1f09fd3738 /gcc
parentf744b2cecabb75a587af4254f1e213545b507347 (diff)
downloadgcc-2a00acf0302a5eeb785109e92e69518822d95ae4.zip
gcc-2a00acf0302a5eeb785109e92e69518822d95ae4.tar.gz
gcc-2a00acf0302a5eeb785109e92e69518822d95ae4.tar.bz2
(ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL):
Alternate definitions if NO_UNDERSCORES. From-SVN: r3092
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/i386/bsd.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/gcc/config/i386/bsd.h b/gcc/config/i386/bsd.h
index 8d23314..164290c 100644
--- a/gcc/config/i386/bsd.h
+++ b/gcc/config/i386/bsd.h
@@ -85,21 +85,31 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
to a multiple of 2**LOG bytes. */
#define ASM_OUTPUT_ALIGN(FILE,LOG) \
- if ((LOG)!=0) fprintf ((FILE), "\t.align %d\n", (LOG))
+ if ((LOG)!=0) fprintf ((FILE), "\t.align %d\n", (LOG))
/* This is how to store into the string BUF
the symbol_ref name of an internal numbered label where
PREFIX is the class of label and NUM is the number within the class.
This is suitable for output with `assemble_name'. */
+#ifdef NO_UNDERSCORES
+#define ASM_GENERATE_INTERNAL_LABEL(BUF,PREFIX,NUMBER) \
+ sprintf ((BUF), "*.%s%d", (PREFIX), (NUMBER))
+#else
#define ASM_GENERATE_INTERNAL_LABEL(BUF,PREFIX,NUMBER) \
sprintf ((BUF), "*%s%d", (PREFIX), (NUMBER))
+#endif
/* This is how to output an internal numbered label where
PREFIX is the class of label and NUM is the number within the class. */
+#ifdef NO_UNDERSCORES
+#define ASM_OUTPUT_INTERNAL_LABEL(FILE,PREFIX,NUM) \
+ fprintf (FILE, ".%s%d:\n", PREFIX, NUM)
+#else
#define ASM_OUTPUT_INTERNAL_LABEL(FILE,PREFIX,NUM) \
fprintf (FILE, "%s%d:\n", PREFIX, NUM)
+#endif
/* This is how to output a reference to a user-level label named NAME. */