Is IEEE-695 is same for 64-bit machine

Ian Lance Taylor ian@wasabisystems.com
Wed Mar 17 14:23:00 GMT 2004


"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



More information about the Binutils mailing list