diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-08-28 22:30:43 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-08-28 22:30:43 +0000 |
commit | 7bbebcf1ac80137db497930cb16ef35eb7abb88e (patch) | |
tree | c5c53ad65d5b828ad2fe2715e96005a8920c444d | |
parent | 50224c3e3b71ac2cfbee52dbc25a05ff4d9e3f41 (diff) |
do not forget to export the weak alias, proper line continuation
-rw-r--r-- | sys/arch/hppa/include/cdefs.h | 6 |
1 files changed, 3 insertions, 3 deletions
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_ */ |