This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: 64bit bfd_vma vs 32bit address space in linker
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: binutils at sources dot redhat dot com, Stefan Reinauer <stepan at suse dot de>
- Date: Tue, 8 Apr 2003 10:28:37 +0930
- Subject: Re: 64bit bfd_vma vs 32bit address space in linker
- References: <jevfxup8op.fsf@sykes.suse.de>
On Fri, Apr 04, 2003 at 05:46:14PM +0200, Andreas Schwab wrote:
> What is the expected behaviour of the linker when dot advances past the
> 32 bit address space and bfd_vma is 64 bits? Is this undefined, or
> should the result wrap around as if bfd_vma is only 32 bits?
Ideally, none of the binutils should produce different output when
bfd_vma changes size to larger than necessary.
> Note the
> address of .text in the linker map below.
Something needs to take note of bfd_arch_info_type.bits_per_address.
--
Alan Modra
IBM OzLabs - Linux Technology Centre