Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/sys/arch/sparc/include Pull up rev. 1.11 (approved by t...



details:   https://anonhg.NetBSD.org/src/rev/02f174dc9fe5
branches:  netbsd-1-5
changeset: 488708:02f174dc9fe5
user:      kleink <kleink%NetBSD.org@localhost>
date:      Tue Jul 25 08:38:21 2000 +0000

description:
Pull up rev. 1.11 (approved by thorpej):
For ELF, add a WEAK_ALIAS() macro.

diffstat:

 sys/arch/sparc/include/asm.h |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r d54be3616c89 -r 02f174dc9fe5 sys/arch/sparc/include/asm.h
--- a/sys/arch/sparc/include/asm.h      Tue Jul 25 08:37:44 2000 +0000
+++ b/sys/arch/sparc/include/asm.h      Tue Jul 25 08:38:21 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: asm.h,v 1.10 1999/02/24 16:02:19 chs Exp $ */
+/*     $NetBSD: asm.h,v 1.10.18.1 2000/07/25 08:38:21 kleink Exp $ */
 
 /*
  * Copyright (c) 1994 Allen Briggs
@@ -107,6 +107,12 @@
 
 #define RCSID(name)            .asciz name
 
+#ifdef __ELF__
+#define        WEAK_ALIAS(alias,sym)                                           \
+       .weak alias;                                                    \
+       alias = sym
+#endif
+
 #ifdef __STDC__
 #define        __STRING(x)                     #x
 #define        WARN_REFERENCES(sym,msg)                                        \



Home | Main Index | Thread Index | Old Index