Date: Fri, 3 May 1996 08:10:14 +1000 From: Bruce Evans <bde@zeta.org.au> To: bde@zeta.org.au, julian@ref.tfs.com Cc: chuckr@Glue.umd.edu, freebsd-current@FreeBSD.org, joerg_wunsch@uriah.heep.sax.de, terry@lambert.org Subject: Re: execve Message-ID: <199605022210.IAA00812@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>> struct. There would have to be declarations in files[.machine] to tell
>> config what to emit. E.g.,
>>
>> kern_imgact.c standard TEXT_SET(execsw_set, aout_execsw)
>> ...
>what about files that need to have multiple linker sets..
>(there are a few)
foo.c standard TEXT_SET(bar_set, func_1)
...
foo.c standard DATA_SET(baz_set, obj_1)
...
This leads to my next topic :-). There shouldn't be any such files because
they don't work as lkm's. For lkm's there should be a single entry point
that registers all the necessary objects and functions:
void foo_init(void *arg)
{
register_bar_func(func_1);
...
register_baz_obj(obj_1);
...
}
Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605022210.IAA00812>
