summaryrefslogtreecommitdiff
path: root/sys/arch/hppa/include
diff options
context:
space:
mode:
authorMartynas Venckus <martynas@cvs.openbsd.org>2013-03-28 17:41:05 +0000
committerMartynas Venckus <martynas@cvs.openbsd.org>2013-03-28 17:41:05 +0000
commit082441c0c4b4a60860a60b78b9f451526c393600 (patch)
treea9e3f2cef8fa8b36e7d7100a47543afb3dbfaae6 /sys/arch/hppa/include
parentdd27625163090c5e5b351e017cd1ffd03a373b5f (diff)
Add STRONG_ALIAS macros to be used from assembly code in libc and
libm. While at it, remove now unused workarounds for lint. Agreed by kettenis@, guenther@, matthew@.
Diffstat (limited to 'sys/arch/hppa/include')
-rw-r--r--sys/arch/hppa/include/asm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/hppa/include/asm.h b/sys/arch/hppa/include/asm.h
index c5f9f9cefb1..bac790a7631 100644
--- a/sys/arch/hppa/include/asm.h
+++ b/sys/arch/hppa/include/asm.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: asm.h,v 1.17 2012/09/02 20:30:13 kettenis Exp $ */
+/* $OpenBSD: asm.h,v 1.18 2013/03/28 17:41:04 martynas Exp $ */
/*
* Copyright (c) 1990,1991,1994 The University of Utah and
@@ -265,6 +265,7 @@ tf4 .reg %fr8
#define BSS(n,s) ! .data ! .label n ! .comm s
+#define STRONG_ALIAS(alias,sym) ! .global alias ! .set alias, sym
#define WEAK_ALIAS(alias,sym) ! .weak alias ! .set alias, sym
#endif /* _MACHINE_ASM_H_ */