[rfc] For mips, sign-extended ecoff offsets

Alan Modra alan@linuxcare.com.au
Mon Jun 19 18:57:00 GMT 2000

On Mon, 19 Jun 2000, Ulf Carlsson wrote:

> On a 64-bit MIPS processor 32-bit addresses are of course sign
> extended, but this shouldn't concern the 32-bit BFD backend for MIPS
> in any way.  Whether we sign extend the addresses or not shouldn't
> make any difference except in our internal representation of the
> bfd_vma.  I may be wrong though!

It doesn't make much difference if bfd_vma is only 32-bits (ie. BFD_64 is
not set)  Where you get into trouble is with targets that are generally
32-bit, but you may be using 64-bit bfd_vma types due to --enable-targets

Linuxcare.  Support for the Revolution.

More information about the Binutils mailing list