From ecf6d6cb6df09bc035adf0692486b3dd2566c63a Mon Sep 17 00:00:00 2001 From: Jason Evans Date: Thu, 13 Jan 2000 09:26:50 +0000 Subject: [PATCH] Fix unresolved _libc_*() references in libc by creating weak aliases to the respective system call entry points. --- lib/libc/alpha/SYS.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/libc/alpha/SYS.h b/lib/libc/alpha/SYS.h index 6e0d52251b38..5bd35cfdc3f5 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);