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/vax/include Pull up rev. 1.10 (approved by tho...



details:   https://anonhg.NetBSD.org/src/rev/acf7ffd2bab1
branches:  netbsd-1-5
changeset: 488710:acf7ffd2bab1
user:      kleink <kleink%NetBSD.org@localhost>
date:      Tue Jul 25 08:39:59 2000 +0000

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

diffstat:

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

diffs (22 lines):

diff -r ef889ac80bd6 -r acf7ffd2bab1 sys/arch/vax/include/asm.h
--- a/sys/arch/vax/include/asm.h        Tue Jul 25 08:38:37 2000 +0000
+++ b/sys/arch/vax/include/asm.h        Tue Jul 25 08:39:59 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: asm.h,v 1.9 1999/01/15 13:31:28 bouyer Exp $ */
+/*     $NetBSD: asm.h,v 1.9.18.1 2000/07/25 08:39:59 kleink Exp $ */
 /*
  * Copyright (c) 1982, 1993
  *     The Regents of the University of California.  All rights reserved.
@@ -83,6 +83,12 @@
 #define ALTENTRY(x) .globl _/**/x; _/**/x:
 #endif
 
+#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