Subject: Re: Toolchain status list (30-Oct-2001)
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: tech-toolchain
Date: 10/30/2001 17:02:34
On Wed, Oct 31, 2001 at 08:47:07AM +0900, Izumi Tsutsui wrote:
> > (2) Make sure the installboot(8) programs byte-swap as necessary
> > (I did this in the SPARC installboot(8), using ntohl() and
> > htonl(), since the SPARC is network-byte-order).
>
> Shouldn't we use htobe32()/be32toh() rather than ntolh()/htonl()?
> Is it really "network-byte-order", or just "big-endian"?
> (I know they are identical, but..)
Yes, I'm currently working on this (including better elf32 vs elf64
handling).
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>