From 7bbebcf1ac80137db497930cb16ef35eb7abb88e Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Wed, 28 Aug 2002 22:30:43 +0000 Subject: do not forget to export the weak alias, proper line continuation --- sys/arch/hppa/include/cdefs.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/arch') diff --git a/sys/arch/hppa/include/cdefs.h b/sys/arch/hppa/include/cdefs.h index 7ebe5b405f1..b21a1eb32f0 100644 --- a/sys/arch/hppa/include/cdefs.h +++ b/sys/arch/hppa/include/cdefs.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cdefs.h,v 1.5 2002/08/03 18:54:26 mickey Exp $ */ +/* $OpenBSD: cdefs.h,v 1.6 2002/08/28 22:30:42 mickey Exp $ */ /* $NetBSD: cdefs.h,v 1.5 1996/10/12 18:08:12 cgd Exp $ */ /* @@ -32,8 +32,8 @@ #define _MACHINE_CDEFS_H_ #define __weak_alias(alias,sym) \ - __asm__(".weak " __STRING(alias) " ; " __STRING(alias) " = " __STRING(sym)) + __asm__(".export " __STRING(alias) ", entry ! .weak " __STRING(alias) " ! " __STRING(alias) " = " __STRING(sym)) #define __warn_references(sym,msg) \ - __asm__(".section .gnu.warning." __STRING(sym) " ; .ascii \"" msg "\" ; .text") + __asm__(".section .gnu.warning." __STRING(sym) " ! .ascii \"" msg "\" ; .text") #endif /* !_MACHINE_CDEFS_H_ */ -- cgit v1.2.3