summaryrefslogtreecommitdiff
path: root/sys/arch/hppa/include
diff options
context:
space:
mode:
authorPhilip Guenthe <guenther@cvs.openbsd.org>2010-10-01 05:02:20 +0000
committerPhilip Guenthe <guenther@cvs.openbsd.org>2010-10-01 05:02:20 +0000
commitba144dd488c8790f80d30537e84669b98180cd05 (patch)
tree2280d2aa5b3b0cf8f95de0073f5a0da9885fa64f /sys/arch/hppa/include
parent46c7e95a9c07869d323b1b9b8b5c36c101e03478 (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 'sys/arch/hppa/include')
-rw-r--r--sys/arch/hppa/include/asm.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/hppa/include/asm.h b/sys/arch/hppa/include/asm.h
index f30669db6a5..8c2997db31b 100644
--- a/sys/arch/hppa/include/asm.h
+++ b/sys/arch/hppa/include/asm.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: asm.h,v 1.15 2005/01/23 16:28:29 mickey Exp $ */
+/* $OpenBSD: asm.h,v 1.16 2010/10/01 05:02:19 guenther Exp $ */
/*
* Copyright (c) 1990,1991,1994 The University of Utah and
@@ -251,4 +251,6 @@ tf4 .reg %fr8
#define BSS(n,s) ! .data ! .label n ! .comm s
+#define WEAK_ALIAS(alias,sym) ! .weak alias ! .set alias, sym
+
#endif /* _MACHINE_ASM_H_ */