diff options
author | jasone <jasone@FreeBSD.org> | 2000-01-13 09:26:50 +0000 |
---|---|---|
committer | jasone <jasone@FreeBSD.org> | 2000-01-13 09:26:50 +0000 |
commit | 226390d852278a8b5bdd48dbd9c3949f9214247a (patch) | |
tree | dde2e8eaac94d6320f34041d9b48ea211a46e0d9 /lib/libc/alpha/SYS.h | |
parent | c87475b54936310dca8ce845b96d122ff527939b (diff) | |
download | FreeBSD-src-226390d852278a8b5bdd48dbd9c3949f9214247a.zip FreeBSD-src-226390d852278a8b5bdd48dbd9c3949f9214247a.tar.gz |
Fix unresolved _libc_*() references in libc by creating weak aliases
to the respective system call entry points.
Diffstat (limited to 'lib/libc/alpha/SYS.h')
-rw-r--r-- | lib/libc/alpha/SYS.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/alpha/SYS.h b/lib/libc/alpha/SYS.h index 6e0d522..5bd35cf 100644 --- a/lib/libc/alpha/SYS.h +++ b/lib/libc/alpha/SYS.h @@ -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); |