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

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);