This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [RFA] Allow binutils compilation for mingw64 with --enable-targets=all
- From: Alan Modra <amodra at gmail dot com>
- To: Pierre Muller <pierre dot muller at ics-cnrs dot unistra dot fr>
- Cc: 'Binutils' <binutils at sourceware dot org>
- Date: Tue, 29 Mar 2011 12:36:25 +1030
- Subject: Re: [RFA] Allow binutils compilation for mingw64 with --enable-targets=all
- References: <003001cbeb36$d0b930b0$722b9210$@muller@ics-cnrs.unistra.fr>
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