(ASM_GENERATE_INTERNAL_LABEL)
authorRichard Stallman <rms@gnu.org>
Sat, 8 May 1993 22:52:03 +0000 (22:52 +0000)
committerRichard Stallman <rms@gnu.org>
Sat, 8 May 1993 22:52:03 +0000 (22:52 +0000)
(ASM_OUTPUT_INTERNAL_LABEL): Don't include a `.' in the label name.

From-SVN: r4390

gcc/config/i386/next.h

index ceb4556d4a0e1411fd923fc1f2d0db0e835d999f..8cbfb8b4e53377723ec1457488f6564ad9c94df2 100644 (file)
@@ -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.  */