This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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][sim] Fix microblaze sim build


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"


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