(ASM_OUTPUT_CASE_END): New macro.
authorRichard Stallman <rms@gnu.org>
Thu, 9 Jul 1992 22:11:31 +0000 (22:11 +0000)
committerRichard Stallman <rms@gnu.org>
Thu, 9 Jul 1992 22:11:31 +0000 (22:11 +0000)
From-SVN: r1542

gcc/config/m68k/mot3300.h

index b7fcedc7a09bddb75ff37e345c0afb4f94ccbccd..beadb729b0dc99852e615cc5390753ffcedb6b59 100644 (file)
@@ -632,6 +632,11 @@ do { union { float f; long l;} tem;                        \
     fprintf (FILE, "\tswbeg &%d\n%s%%%d:\n",                           \
             XVECLEN (PATTERN (TABLE), 1), (PREFIX), (NUM))
             
+/* At end of a switch table, define LD%n iff the symbol LI%n was defined.  */
+#define ASM_OUTPUT_CASE_END(FILE,NUM,TABLE)            \
+  if (switch_table_difference_label_flag)              \
+    fprintf (FILE, "\tset LD%%%d,L%%%d-LI%%%d\n", (NUM), (NUM), (NUM))
+
 /* Translate some opcodes to fit the sysV68 assembler syntax.  */
 /* The opcodes fdmov and fsmov are guesses.  */