aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-05-08 22:52:03 +0000
committerRichard Stallman <rms@gnu.org>1993-05-08 22:52:03 +0000
commit5a9771f104f5fc8e9359122b7709dd4bc4e6e2a0 (patch)
tree8535908a0713e64bfad84d76ea506b25dbac2bf7 /gcc
parentaef1522ba5b465184e64793ae6bdb312d3fa603e (diff)
downloadgcc-5a9771f104f5fc8e9359122b7709dd4bc4e6e2a0.zip
gcc-5a9771f104f5fc8e9359122b7709dd4bc4e6e2a0.tar.gz
gcc-5a9771f104f5fc8e9359122b7709dd4bc4e6e2a0.tar.bz2
(ASM_GENERATE_INTERNAL_LABEL)
(ASM_OUTPUT_INTERNAL_LABEL): Don't include a `.' in the label name. From-SVN: r4390
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/i386/next.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/gcc/config/i386/next.h b/gcc/config/i386/next.h
index ceb4556..8cbfb8b 100644
--- a/gcc/config/i386/next.h
+++ b/gcc/config/i386/next.h
@@ -117,12 +117,15 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define OBJC_FORWARDING_STACK_OFFSET 8
#define OBJC_FORWARDING_MIN_OFFSET 8
-/* Compensate for botch in dbxout_init/dbxout_source_file which
- unconditionally drops the first character from ltext_label_name */
+/* We do not want a dot in internal labels. */
#undef ASM_GENERATE_INTERNAL_LABEL
#define ASM_GENERATE_INTERNAL_LABEL(BUF,PREFIX,NUMBER) \
- sprintf ((BUF), "*.%s%d", (PREFIX), (NUMBER))
+ sprintf ((BUF), "*%s%d", (PREFIX), (NUMBER))
+
+#undef ASM_OUTPUT_INTERNAL_LABEL
+#define ASM_OUTPUT_INTERNAL_LABEL(FILE,PREFIX,NUM) \
+ fprintf (FILE, "%s%d:\n", PREFIX, NUM)
/* Output to assembler file text saying following lines
may contain character constants, extra white space, comments, etc. */