Date: Wed, 27 May 1998 13:03:24 -0400 (EDT) From: zhihuizhang <bf20761@binghamton.edu> To: hackers <freebsd-hackers@FreeBSD.ORG> Subject: Where are system call stubs in libc? Message-ID: <Pine.SOL.L3.93.980527125521.9609A-100000@bingsun2>
next in thread | raw e-mail | index | archive | help
I have understood the basic mechanism of making system calls in FreeBSD which is quite similar to Linux. I am now trying to find out where in the source code library stubs are added (similar to that found in file csu/i386/crt0.c?). I can not figure out how the file libc/i386/sys/syscall.S is related to normal system calls like read(), write(), etc. Also, when tracing the ENTRY(syscall) in file syscall.S, I can not find where __mcount is defined. I hope someone can give me a hint on this. Thanks a lot. ------------------------------------------------- Department of Computer Science State University of New York at Binghamton Web Site: http://cs.binghamton.edu/~zzhang ------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.L3.93.980527125521.9609A-100000>