aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-12-21 11:09:43 +0000
committerRichard Stallman <rms@gnu.org>1992-12-21 11:09:43 +0000
commit20e52bf16a4b02a1790d46180d2a421115a1c3d6 (patch)
treeda2beb7dd2db3eb41ae80fa705de0580cca5f49c
parente8030e8c02a31e64efa2006809af13dd31a43801 (diff)
downloadgcc-20e52bf16a4b02a1790d46180d2a421115a1c3d6.zip
gcc-20e52bf16a4b02a1790d46180d2a421115a1c3d6.tar.gz
gcc-20e52bf16a4b02a1790d46180d2a421115a1c3d6.tar.bz2
(ASM_OUTPUT_CASE_END): Use switch_table_difference_label_flag.
From-SVN: r2901
-rw-r--r--gcc/config/m68k/m68kv4.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/gcc/config/m68k/m68kv4.h b/gcc/config/m68k/m68kv4.h
index cd49577..d064b5c 100644
--- a/gcc/config/m68k/m68kv4.h
+++ b/gcc/config/m68k/m68kv4.h
@@ -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;