Date: Tue, 28 Apr 1998 15:06:45 +1000 From: Bruce Evans <bde@zeta.org.au> To: bde@zeta.org.au, jb@cimlogic.com.au Cc: committers@FreeBSD.ORG Subject: Re: Syscall as weak symbols Message-ID: <199804280506.PAA12208@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>As part of a cleanup to things related to libc, I'd like to change >the SYSCALL macro to generate (something like) __syscall_name as >the non-weak symbol for the `name' syscall, and declare name as a >weak symbol so that an "nm -W write.o" gives: > >00000008 T __syscall_write > U cerror >00000008 TW write _write for a.out This seems reasonable, provided weak symbols work right now. I would prefer a prefix of `__' or even `_' instead of `_syscall_'. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804280506.PAA12208>