[patch][sim] Fix microblaze sim build

Steven Bosscher stevenb.gcc@gmail.com
Wed Jun 6 11:10:00 GMT 2012


Hello,

I needed the attached patch to build the microblaze sim.
Without the patch, bfd.h gives an #error that config.h should be
included before it.

Could you please see if this is OK, and commit it if so?

Ciao!
Steven

Index: src/sim/microblaze/interp.c
===================================================================
RCS file: /cvs/src/src/sim/microblaze/interp.c,v
retrieving revision 1.7
diff -u -r1.7 interp.c
--- interp.c    4 Jan 2012 08:28:20 -0000       1.7
+++ interp.c    6 Jun 2012 11:06:10 -0000
@@ -23,6 +23,7 @@
 #include <sys/times.h>
 #include <sys/param.h>
 #include <netinet/in.h>        /* for byte ordering macros */
+#include "config.h"
 #include "bfd.h"
 #include "gdb/callback.h"
 #include "libiberty.h"



More information about the Binutils mailing list