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/arm26/include Pull up rev. 1.2 (approved by th...



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

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

diffstat:

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

diffs (22 lines):

diff -r b869f1127574 -r c5f4ff92920f sys/arch/arm26/include/asm.h
--- a/sys/arch/arm26/include/asm.h      Tue Jul 25 08:19:53 2000 +0000
+++ b/sys/arch/arm26/include/asm.h      Tue Jul 25 08:21:20 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: asm.h,v 1.1 2000/05/09 21:55:58 bjh21 Exp $    */
+/*     $NetBSD: asm.h,v 1.1.4.1 2000/07/25 08:21:20 kleink Exp $       */
 
 /*
  * Copyright (c) 1990 The Regents of the University of California.
@@ -100,6 +100,12 @@
 #define RCSID(x)       .text; .asciz x
 #endif
 
+#ifdef __ELF__
+#define        WEAK_ALIAS(alias,sym)                                           \
+       .weak alias;                                                    \
+       alias = sym
+#endif
+
 #ifdef __STDC__
 #define        WARN_REFERENCES(sym,msg)                                        \
        .stabs msg ## ,30,0,0,0 ;                                       \



Home | Main Index | Thread Index | Old Index