*** empty log message ***
authorRichard Stallman <rms@gnu.org>
Wed, 6 May 1992 03:58:20 +0000 (03:58 +0000)
committerRichard Stallman <rms@gnu.org>
Wed, 6 May 1992 03:58:20 +0000 (03:58 +0000)
From-SVN: r914

gcc/config/m68k/dpx2.h
gcc/config/svr3.h

index 4943823401360b2e63b2b0806f3d34b68373ca50..e4ddf10c98275d9e1c6a3c9293c05fb5a5eb413f 100644 (file)
@@ -81,6 +81,8 @@
 #define ASM_OUTPUT_SOURCE_FILENAME(FILE, NA)   \
   do { fprintf ((FILE), "\t.file\t'%s'\n", (NA)); } while (0)
 
+/* This may not matter anymore, now that svr3.h overrides
+   ASM_GENERATE_INTERNAL_LABEL and ASM_OUTPUT_INTERNAL_LABEL.  */
 #undef LOCAL_LABEL_PREFIX
 #define LOCAL_LABEL_PREFIX "."
 /* 
index 9e871537a2fe9fdf8e9e5c45c113fd1c12a649de..9d70cbf0ae6d5a1f6dc355632542ae02a92b1f30 100644 (file)
@@ -161,6 +161,30 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
 #undef ASM_OUTPUT_LABELREF
 #define ASM_OUTPUT_LABELREF(FILE,NAME) fprintf (FILE, "_%s", NAME)
 
+/* This is how to output an internal numbered label where
+   PREFIX is the class of label and NUM is the number within the class.
+
+   For most svr3 systems, the convention is that any symbol which begins
+   with a period is not put into the linker symbol table by the assembler.
+*/
+
+#undef ASM_OUTPUT_INTERNAL_LABEL
+#define ASM_OUTPUT_INTERNAL_LABEL(FILE,PREFIX,NUM)     \
+  fprintf (FILE, ".%s%d:\n", PREFIX, NUM)
+
+/* This is how to store into the string LABEL
+   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'.
+
+   For most svr3 systems, the convention is that any symbol which begins
+   with a period is not put into the linker symbol table by the assembler.
+*/
+
+#undef ASM_GENERATE_INTERNAL_LABEL
+#define ASM_GENERATE_INTERNAL_LABEL(LABEL,PREFIX,NUM)  \
+  sprintf (LABEL, ".%s%d", PREFIX, NUM)
+
 /* Support const sections and the ctors and dtors sections for g++.
    Note that there appears to be two different ways to support const
    sections at the moment.  You can either #define the symbol