1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

Fix unresolved _libc_*() references in libc by creating weak aliases

to the respective system call entry points.
This commit is contained in:
Jason Evans 2000-01-13 09:26:50 +00:00
parent 39fb813864
commit ecf6d6cb6d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=55893

View File

@ -47,6 +47,7 @@ LLABEL(name,1):
#define SYSCALL(name) \
LEAF(name,0); /* XXX # of args? */ \
WEAK_ALIAS(__CONCAT(_libc_,name), name); \
CALLSYS_ERROR(name)
#define SYSCALL_NOERROR(name) \
@ -67,6 +68,7 @@ END(name)
#define PSEUDO(label,name) \
LEAF(label,0); /* XXX # of args? */ \
WEAK_ALIAS(__CONCAT(_libc_,name), name); \
CALLSYS_ERROR(name); \
RET; \
END(label);