[RFA] Allow binutils compilation for mingw64 with --enable-targets=all
Alan Modra
amodra@gmail.com
Tue Mar 29 02:06:00 GMT 2011
On Fri, Mar 25, 2011 at 10:51:35PM +0100, Pierre Muller wrote:
> * coffdump.c (dump_coff_scope): Use double typecast for pointer P
> to allow compilation for all targets.
I missed this when reviewing. For systems that don't have uintptr_t.
* coffdump.c: Include bfd_stdint.h
Index: binutils/coffdump.c
===================================================================
RCS file: /cvs/src/src/binutils/coffdump.c,v
retrieving revision 1.20
diff -u -p -r1.20 coffdump.c
--- binutils/coffdump.c 28 Mar 2011 15:24:02 -0000 1.20
+++ binutils/coffdump.c 29 Mar 2011 02:05:02 -0000
@@ -1,6 +1,6 @@
/* Coff file dumper.
- Copyright 1994, 1995, 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2007
- Free Software Foundation, Inc.
+ Copyright 1994, 1995, 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2007,
+ 2011 Free Software Foundation, Inc.
This file is part of GNU Binutils.
@@ -27,6 +27,7 @@
#include "sysdep.h"
#include "bfd.h"
+#include "bfd_stdint.h"
#include "libiberty.h"
#include "bucomm.h"
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list