What does--enable-64-bit-bfd mean anyway? Thinko in bfd-in.h?

Alan Modra amodra@bigpond.net.au
Mon May 18 14:40:00 GMT 2009


On Mon, May 18, 2009 at 03:16:53PM +0100, Dave Korn wrote:
>   This looks like a thinko to me.  Surely the size of a VMA and thus the size
> used to print it out in the dump fields should depend on the object file
> format in question, or perhaps the target, but certainly not on host
> characteristics?

No.  A bfd_vma must be at least 64 bits if any target is 64-bit (the
main one or others selected by --enable-targets), or if
--enable-64-bit-bfd.  A bfd_vma may also be 64 bits if the host is
64-bit (when unsigned long is 64-bit).

Printing a bfd_vma is a separate question.  See bfd.c:bfd_fprintf_vma.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list