aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-03-31 09:03:25 +0000
committerRichard Stallman <rms@gnu.org>1992-03-31 09:03:25 +0000
commitef58021bdb92d5a9cf2acabb1845ff9b70cc9541 (patch)
treeb7e906b4e5428ad26fb8414b062a21d469d07699
parent9cebe4904046846a52c174b490967a3aa4e5e7b3 (diff)
downloadgcc-ef58021bdb92d5a9cf2acabb1845ff9b70cc9541.zip
gcc-ef58021bdb92d5a9cf2acabb1845ff9b70cc9541.tar.gz
gcc-ef58021bdb92d5a9cf2acabb1845ff9b70cc9541.tar.bz2
entered into RCS
From-SVN: r644
-rw-r--r--gcc/config/m68k/hp320.h13
-rw-r--r--gcc/config/m68k/mot3300.h7
2 files changed, 9 insertions, 11 deletions
diff --git a/gcc/config/m68k/hp320.h b/gcc/config/m68k/hp320.h
index aa6c191..eedf94e 100644
--- a/gcc/config/m68k/hp320.h
+++ b/gcc/config/m68k/hp320.h
@@ -164,8 +164,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#undef PRINT_OPERAND
#undef PRINT_OPERAND_ADDRESS
#undef FUNCTION_PROFILER
-#undef ASM_GLOBALIZE_LABEL
#undef ASM_OUTPUT_INTERNAL_LABEL
+#undef GLOBAL_ASM_OP
#define TARGET_VERSION fprintf (stderr, " (68k, SGS/hpux syntax)");
@@ -293,6 +293,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define DATA_SECTION_ASM_OP "data"
#define ASCII_DATA_ASM_OP "byte"
+
+/* This is the command to make the user-level label named NAME
+ defined for reference from other files. */
+
+#define GLOBAL_ASM_OP "global"
/* This says how to output an assembler line
to define a global common symbol. */
@@ -318,12 +323,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
( (OUTPUT) = (char *) alloca (strlen ((NAME)) + 12), \
sprintf ((OUTPUT), "%s___%d", (NAME), (LABELNO)))
-/* This is how to output a command to make the user-level label named NAME
- defined for reference from other files. */
-
-#define ASM_GLOBALIZE_LABEL(FILE,NAME) \
- do { fputs ("\tglobal ", FILE); assemble_name (FILE, NAME); fputs ("\n", FILE);} while (0)
-
#define ASM_OUTPUT_INTERNAL_LABEL(FILE,PREFIX,NUM) \
do{ if (PREFIX[0] == 'L' && PREFIX[1] == 'I') \
fprintf(FILE, "\tset %s%d,.+2\n", PREFIX, NUM); \
diff --git a/gcc/config/m68k/mot3300.h b/gcc/config/m68k/mot3300.h
index caa8948..4501e43 100644
--- a/gcc/config/m68k/mot3300.h
+++ b/gcc/config/m68k/mot3300.h
@@ -282,12 +282,11 @@ output_file_directive ((FILE), main_input_filename)
((N) == 0 || (N) == 8 || (TARGET_68881 && (N) == 16))
#endif
-/* This is how to output a command to make the user-level label named NAME
+/* This is the command to make the user-level label named NAME
defined for reference from other files. */
-#undef ASM_GLOBALIZE_LABEL
-#define ASM_GLOBALIZE_LABEL(FILE,NAME) \
- do { fputs ("\tglobal ", FILE); assemble_name (FILE, NAME); fputs ("\n", FILE);} while (0)
+#undef GLOBAL_ASM_OP
+#define GLOBAL_ASM_OP "global"
/* Store in OUTPUT a string (made with alloca) containing
an assembler-name for a local static variable named NAME.