This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [patch]: Fix base-file and relocation for w64
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Kai Tietz <Kai dot Tietz at onevision dot com>
- Cc: Nick Clifton <nickc at redhat dot com>, binutils at sourceware dot org, NightStrike at gmail dot com
- Date: Thu, 2 Oct 2008 00:37:30 +0930
- Subject: Re: [patch]: Fix base-file and relocation for w64
- References: <OF38FD7A63.055F6FDD-ONC12574D5.0041311A-C12574D5.0042CEEC@onevision.de>
On Wed, Oct 01, 2008 at 02:09:39PM +0200, Kai Tietz wrote:
> * cofflink.c (_bfd_coff_generic_relocate_section): Dump bfd_vma
> sized addresses instead of long sized.
Suppose I build binutils on a 32-bit host for target i686-pc-cygwin.
Then I think you'll have a 32-bit bfd_vma. If I build again on the
same host, but this time enable an additional target which happens to
be 64-bit, eg. --target=i686-pc-cygwin --enable-targets=x86_64-mingw,
then bfd_vma is 64-bit. Do you really want to introduce this
incompatibility?
--
Alan Modra
Australia Development Lab, IBM