diff options
author | Philip Guenthe <guenther@cvs.openbsd.org> | 2010-10-01 05:02:20 +0000 |
---|---|---|
committer | Philip Guenthe <guenther@cvs.openbsd.org> | 2010-10-01 05:02:20 +0000 |
commit | ba144dd488c8790f80d30537e84669b98180cd05 (patch) | |
tree | 2280d2aa5b3b0cf8f95de0073f5a0da9885fa64f /lib/libc/arch/hppa64 | |
parent | 46c7e95a9c07869d323b1b9b8b5c36c101e03478 (diff) |
Provide a WEAK_ALIAS macro in <machine/asm.h> for the few platforms
that didn't already have one, and then immediately use it in libc's
SYS.h
ok miod@
Diffstat (limited to 'lib/libc/arch/hppa64')
-rw-r--r-- | lib/libc/arch/hppa64/SYS.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/arch/hppa64/SYS.h b/lib/libc/arch/hppa64/SYS.h index 2e0b7ff7685..c181ca69314 100644 --- a/lib/libc/arch/hppa64/SYS.h +++ b/lib/libc/arch/hppa64/SYS.h @@ -1,4 +1,4 @@ -/* $OpenBSD: SYS.h,v 1.2 2006/01/05 22:19:49 kettenis Exp $ */ +/* $OpenBSD: SYS.h,v 1.3 2010/10/01 05:02:19 guenther Exp $ */ /* * Copyright (c) 1998-2002 Michael Shalayeff @@ -35,7 +35,7 @@ #define SYSENTRY(x) !\ LEAF_ENTRY(__CONCAT(_thread_sys_,x)) !\ - .weak x ! .set x, __CONCAT(_thread_sys_,x) + WEAK_ALIAS(x,__CONCAT(_thread_sys_,x)) #define SYSEXIT(x) !\ EXIT(__CONCAT(_thread_sys_,x)) |