>     'what' is broken.  C does not impose any sort of address ordering
>     restriction on globals or autos that are declared next to each other.

Right, except that 'what' isn't broken.  It is vers.c (and conf/newvers.sh)
that is broken, believing that the two variables will be allocating in 
contiguous memory.

Changing newvers.sh to generate
        char sccs[] = "@(" "#)" "FreeBSD ...";
        char version = "FreeBSD ...";
will make "what" on the kernel work again, at the expense of about 100
duplicated
bytes.

The real question is whether the extreme alignment and padding used by EGCS can
be turned off, especially for 486s.

John


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message

Reply via email to