From ba144dd488c8790f80d30537e84669b98180cd05 Mon Sep 17 00:00:00 2001 From: Philip Guenthe Date: Fri, 1 Oct 2010 05:02:20 +0000 Subject: Provide a WEAK_ALIAS macro in for the few platforms that didn't already have one, and then immediately use it in libc's SYS.h ok miod@ --- sys/arch/hppa64/include/asm.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/arch/hppa64') 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_ */ -- cgit v1.2.3