From 082441c0c4b4a60860a60b78b9f451526c393600 Mon Sep 17 00:00:00 2001 From: Martynas Venckus Date: Thu, 28 Mar 2013 17:41:05 +0000 Subject: 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@. --- sys/arch/arm/include/asm.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sys/arch/arm') diff --git a/sys/arch/arm/include/asm.h b/sys/arch/arm/include/asm.h index cf51698c1d0..454ad4d735b 100644 --- a/sys/arch/arm/include/asm.h +++ b/sys/arch/arm/include/asm.h @@ -1,4 +1,4 @@ -/* $OpenBSD: asm.h,v 1.3 2012/08/25 22:10:59 kettenis Exp $ */ +/* $OpenBSD: asm.h,v 1.4 2013/03/28 17:41:04 martynas Exp $ */ /* $NetBSD: asm.h,v 1.4 2001/07/16 05:43:32 matt Exp $ */ /* @@ -108,6 +108,9 @@ #endif #ifdef __ELF__ +#define STRONG_ALIAS(alias,sym) \ + .global alias; \ + alias = sym #define WEAK_ALIAS(alias,sym) \ .weak alias; \ alias = sym -- cgit v1.2.3