(ASM_OUTPUT_CASE_END): Use switch_table_difference_label_flag.
authorRichard Stallman <rms@gnu.org>
Mon, 21 Dec 1992 11:09:43 +0000 (11:09 +0000)
committerRichard Stallman <rms@gnu.org>
Mon, 21 Dec 1992 11:09:43 +0000 (11:09 +0000)
From-SVN: r2901

gcc/config/m68k/m68kv4.h

index cd49577373e1e15dbf6f9cf3789dd254f281ddba..d064b5c53286c4111b2b3792e6c1da7cea5530c1 100644 (file)
@@ -222,12 +222,15 @@ do {                                                                      \
   putc ('\n', (FILE));                                         \
 }
 
-/* SVR4 m68k assembler is bitching on the syntax `2.b'. Change
-   it back to use the "LLDnnn-LLnnn" format. */
+/* SVR4 m68k assembler is bitching on the syntax `2.b'.
+   So use the "LLDnnn-LLnnn" format.  Define LLDnnn after the table.  */
 
 #undef ASM_OUTPUT_CASE_END
-#define ASM_OUTPUT_CASE_END(FILE,NUM,TABLE)             \
-  if (RTX_INTEGRATED_P (TABLE))                         \
-    asm_fprintf (FILE, "\t%s %LLD%d,%LL%d\n",\
-                 SET_ASM_OP, (NUM), (NUM))
+#define ASM_OUTPUT_CASE_END(FILE,NUM,TABLE)                            \
+do {                                                                   \
+  if (switch_table_difference_label_flag)                              \
+    asm_fprintf ((FILE), "\t%s %LLD%d,%LL%d\n", SET_ASM_OP, (NUM), (NUM));\
+  switch_table_difference_label_flag = 0;                              \
+} while (0)
 
+int switch_table_difference_label_flag;