This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH/m68k] remove obsolete MOTOROLA_BSR define


Hello!

This patch removes some obsolete code from m68k.c amd m68k.md that depends
on MOTOROLA_BSR. The code isn't used anymore since the removal of obsolete
m68k targets.

Gunther

2003-07-16  Gunther Nikl  <gni@gecko.de>

	* config/m68k/m68k.c (m68k_output_mi_thunk): delete obsolete code
	depending on MOTOROLA_BSR
	* config/m68k/m68k.md (anonymous define_insn): Likewise

--- m68k.c_	Mon Jul  7 10:25:32 2003
+++ m68k.c	Wed Jul 16 13:32:30 2003
@@ -3573,11 +3573,7 @@ m68k_output_mi_thunk (file, thunk, delta
   else
     {
 #if defined (MOTOROLA) && !defined (USE_GAS)
-#ifdef MOTOROLA_BSR
-      fmt = "bra %0";
-#else
       fmt = "jmp %0";
-#endif
 #else
       fmt = "jra %0";
 #endif
--- m68k.md_	Mon Jul  7 10:25:32 2003
+++ m68k.md	Wed Jul 16 13:32:30 2003
@@ -6832,11 +6832,6 @@
   "! flag_pic"
   "*
 #if defined (MOTOROLA) && !defined (USE_GAS)
-#ifdef MOTOROLA_BSR
-  if (GET_CODE (operands[0]) == MEM
-      && GET_CODE (XEXP (operands[0], 0)) == SYMBOL_REF)
-    return \"bsr %0\";
-#endif
   return \"jsr %0\";
 #else
   return \"jbsr %0\";
@@ -6902,11 +6897,6 @@
   "! flag_pic"
   "*
 #if defined (MOTOROLA) && !defined (USE_GAS)
-#ifdef MOTOROLA_BSR
-  if (GET_CODE (operands[1]) == MEM
-      && GET_CODE (XEXP (operands[1], 0)) == SYMBOL_REF)
-    return \"bsr %1\";
-#endif
   return \"jsr %1\";
 #else
   return \"jbsr %1\";


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]