This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Is IEEE-695 is same for 64-bit machine


"K. Ahmed Feroz" <feroz@acmet.com> writes:

> I have doubt whether IEEE-695 format is same for 32-bit machine and
> 64-bit machine. Please confirm.

An IEEE-695 format object file will normally have an address
descriptor which contains the number of bits in an addressable unit
and the number of addressable units in an address.  These values can
then be used whenever reading an address.  Also, pretty much any time
the format contains a value, it starts with the length, and the format
supports lengths up to 8 bytes.  So the format itself is the same for
a 32-bit or a 64-bit machine, although the actual values are
different.

That said, I don't think the BFD implementation works correctly for a
64-bit machine.  Clearly at least ieee_write_int() and write_int()
need to be fixed.  There are probably other places which need patching
as well.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]