Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Sep 2003 19:34:39 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Marcel Moolenaar <marcel@xcllnt.net>
Cc:        Marius Strobl <marius@alchemy.franken.de>
Subject:   Re: Question about genassym, locore.s and 0-sizedarrays(showstopper for an icc compiled kernel)
Message-ID:  <20030905192554.Q9277@gamplex.bde.org>
In-Reply-To: <20030905180200.D9084@gamplex.bde.org>
References:  <20030904180448.021a1b6b.Alexander@Leidinger.net> <20030905025922.A68885@newtrinity.zeist.de> <20030905180200.D9084@gamplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 5 Sep 2003, I wrote:

> ...
> If some values are unrepresentable then they need to be represtended
> using other values.  E.g., add 1 to avoid 0, or multiply by the alignment
> size if some element of the tool chanin instsists on rounding up things
                                   chain  insists
> for alignment like a broken aout version used to do.  16-bit values
> would need 17 bits to represent after adding 1.

Better, add 0x10000 to avoid 0.  awk has no support for parsing hex numbers
so subtracting the bias of 1 would take a lot more code, but ignoring
leading hexdigits requires no changes in genassym.sh -- it already ignores
everything except the last 4 hexdigits.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030905192554.Q9277>