64bit bfd_vma vs 32bit address space in linker
Alan Modra
amodra@bigpond.net.au
Tue Apr 8 00:58:00 GMT 2003
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
More information about the Binutils
mailing list