[PATCH/RFA] m88k a.out fix

Mark Kettenis kettenis@chello.nl
Sat Jun 26 06:58:00 GMT 2004


This seems to be necessary to get binutils working properly on
OpenBSD/m88k.  Anyway, it's similar to what's already done for the
VAX.

OK?

Mark


Index: ChangeLog
from  Mark Kettenis  <kettenis@gnu.org>

	From Miod Vallat <miod@online.fr>:
	* aoutx.h (NAME(aout,machine_type)): Handle bfd_arch_m88k.

Index: aoutx.h
===================================================================
RCS file: /cvs/src/src/bfd/aoutx.h,v
retrieving revision 1.46
diff -u -p -r1.46 aoutx.h
--- aoutx.h 24 Jun 2004 04:46:14 -0000 1.46
+++ aoutx.h 26 Jun 2004 06:53:37 -0000
@@ -830,6 +830,10 @@ NAME(aout,machine_type) (arch, machine, 
 	arch_flags = M_CRIS;
       break;
 
+    case bfd_arch_m88k:
+      *unknown = FALSE;
+      break;
+
     default:
       arch_flags = M_UNKNOWN;
     }



More information about the Binutils mailing list