summaryrefslogtreecommitdiff
path: root/sys/arch/hppa64
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/hppa64
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/hppa64')
-rw-r--r--sys/arch/hppa64/include/asm.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/hppa64/include/asm.h b/sys/arch/hppa64/include/asm.h
index ed1ca9acafe..f4796d2d885 100644
--- a/sys/arch/hppa64/include/asm.h
+++ b/sys/arch/hppa64/include/asm.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: asm.h,v 1.1 2005/04/01 10:40:48 mickey Exp $ */
+/* $OpenBSD: asm.h,v 1.2 2010/10/01 05:02:19 guenther Exp $ */
/*
* Copyright (c) 1990,1991,1994 The University of Utah and
@@ -67,4 +67,6 @@ ap .reg %r29
#define BSS(n,s) ! .data ! .label n ! .comm s
+#define WEAK_ALIAS(alias,sym) ! .weak alias ! .set alias, sym
+
#endif /* _MACHINE_ASM_H_ */