From d6a7c1c5542b380478d7d3da71a7f1dbcc18e10d Mon Sep 17 00:00:00 2001 From: jasone Date: Fri, 28 Jan 2000 22:47:21 +0000 Subject: For syscalls that are renamed to _thread_sys_foo, create a weak alias called _foo, not _thread_sys_foo. --- lib/libc/alpha/SYS.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libc/alpha') diff --git a/lib/libc/alpha/SYS.h b/lib/libc/alpha/SYS.h index 778f73a..a7d9b69 100644 --- a/lib/libc/alpha/SYS.h +++ b/lib/libc/alpha/SYS.h @@ -104,7 +104,7 @@ END(___CONCAT(_thread_sys_,name)) #define PSYSCALL(name) \ PLEAF(name,0); /* XXX # of args? */ \ - WEAK_ALIAS(__CONCAT(_thread_sys_,name), name); \ + WEAK_ALIAS(__CONCAT(_,name), name); \ CALLSYS_ERROR(name) #define PRSYSCALL(name) \ @@ -115,7 +115,7 @@ PEND(name) #define PPSEUDO(label,name) \ PLEAF(label,0); /* XXX # of args? */ \ - WEAK_ALIAS(__CONCAT(_thread_sys_,name), name); \ + WEAK_ALIAS(__CONCAT(_,name), name); \ CALLSYS_ERROR(name); \ RET; \ PEND(label) -- cgit v1.1