--- gcc/config/bsd386.h 2018/04/24 17:51:34 1.1.1.1 +++ gcc/config/bsd386.h 2018/04/24 18:04:55 1.1.1.2 @@ -28,8 +28,14 @@ the Free Software Foundation, 675 Mass A /* Define the syntax of pseudo-ops, labels and comments. */ -/* Prefix for internally generated assembler labels. */ +/* Prefix for internally generated assembler labels. If we aren't using + underscores, we are using prefix `.'s to identify labels that should + be ignored, as in `i386gas.h' --karl@cs.umb.edu */ +#ifdef NO_UNDERSCORES +#define LPREFIX ".L" +#else #define LPREFIX "L" +#endif /* not NO_UNDERSCORES */ /* Assembler pseudos to introduce constants of various size. */ @@ -97,8 +103,11 @@ the Free Software Foundation, 675 Mass A /* This is how to output a reference to a user-level label named NAME. */ -#define ASM_OUTPUT_LABELREF(FILE,NAME) \ - fprintf (FILE, "_%s", NAME) +#ifdef NO_UNDERSCORES +#define ASM_OUTPUT_LABELREF(FILE,NAME) fprintf (FILE, "%s", NAME) +#else +#define ASM_OUTPUT_LABELREF(FILE,NAME) fprintf (FILE, "_%s", NAME) +#endif /* not NO_UNDERSCORES */ /* Sequent has some changes in the format of DBX symbols. */ #define DBX_NO_XREFS 1