Subject: Re: NetBSD ABI and library calls
To: software.au@gmail.com <software.au@gmail.com>
From: Hubert Feyrer <feyrer@cs.stevens.edu>
List: tech-kern
Date: 10/30/2005 04:29:17
On Sun, 30 Oct 2005, software.au@gmail.com wrote:
> How is it done in NetBSD?  Is there some kind of "ABI" like the SysV
> ABI, or is this called a calling convention?  Where in the sources
> could I take a look to see how it's done?  Are syscall stubs for the C
> library somewhere in the syssrc or elsewhere?

src/lib/libc ?


> When the NetBSD kernel is built, after linking is it just an ELF
> program or are there any special tweaks that are done?

Just ELF on most platforms, AFAIK.
On Cobalt it's something else as the firmware can't load ELF.
(Maybe that changed, and a bootloader was added... I haven't followed 
things)


  - Hubert