Subject: Re: ELF modload support!
To: None <current-users@netbsd.org>
From: Ken Wellsch <kwellsch@link.link-systems.com>
List: current-users
Date: 06/13/1999 09:38:07
| Date: Sun, 13 Jun 1999 23:05:56 +1000
| From: matthew green <mrg@eterna.com.au>
| 
| i have commited changes from joda@pdc.kth.se (Johan Danielsson) to enable
| ELF modload support.  joda's code originally was for the Alpha, and i see
| no reason why it would not work now as well as before.  i've only tested
| it for a.out and ELF on the SPARC.
| 
| ELF is missing symtab loading support, but that is due to support for that
| for a.out being added _after_ the original version of this patch.
| 
| please log any problems with send-pr!  thanks.

On a DEC/Alpha running June 5 -current userland, June 12 kernel, I get
this trying to build -current as of Sat June 12 and Sun June 13 sup.
Is this related to the changes mentioned above?

# pwd
/usr/src/usr.bin/modstat
# make
cc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Werror   -c modstat.c
cc1: warnings being treated as errors
modstat.c: In function `dostat':
modstat.c:122: warning: field width is not type int (arg 5)
modstat.c:122: warning: field width is not type int (arg 8)
modstat.c: In function `main':
modstat.c:186: warning: field width is not type int (arg 2)
modstat.c:186: warning: field width is not type int (arg 4)
*** Error code 1

Stop.