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/arm32/include Pull up rev. 1.16 (approved by t...



details:   https://anonhg.NetBSD.org/src/rev/e50a39f57167
branches:  netbsd-1-5
changeset: 488702:e50a39f57167
user:      kleink <kleink%NetBSD.org@localhost>
date:      Tue Jul 25 08:22:10 2000 +0000

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

diffstat:

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

diffs (22 lines):

diff -r c5f4ff92920f -r e50a39f57167 sys/arch/arm32/include/asm.h
--- a/sys/arch/arm32/include/asm.h      Tue Jul 25 08:21:20 2000 +0000
+++ b/sys/arch/arm32/include/asm.h      Tue Jul 25 08:22:10 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: asm.h,v 1.15 1999/11/17 18:08:01 matt Exp $    */
+/*     $NetBSD: asm.h,v 1.15.4.1 2000/07/25 08:22:10 kleink Exp $      */
 
 /*
  * Copyright (c) 1990 The Regents of the University of California.
@@ -96,6 +96,12 @@
 
 #define RCSID(x)       .text; .asciz x
 
+#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