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



details:   https://anonhg.NetBSD.org/src/rev/030fb0e770c0
branches:  netbsd-1-5
changeset: 488705:030fb0e770c0
user:      kleink <kleink%NetBSD.org@localhost>
date:      Tue Jul 25 08:33:48 2000 +0000

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

diffstat:

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

diffs (22 lines):

diff -r 7ceb90c9faab -r 030fb0e770c0 sys/arch/mips/include/asm.h
--- a/sys/arch/mips/include/asm.h       Tue Jul 25 08:32:59 2000 +0000
+++ b/sys/arch/mips/include/asm.h       Tue Jul 25 08:33:48 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: asm.h,v 1.23 2000/06/12 23:42:10 castor Exp $  */
+/*     $NetBSD: asm.h,v 1.23.2.1 2000/07/25 08:33:48 kleink Exp $      */
 
 /*
  * Copyright (c) 1992, 1993
@@ -103,6 +103,12 @@
 #define AENT(x)
 #endif
 
+#ifdef __ELF__
+#define        WEAK_ALIAS(alias,sym)                                           \
+       .weak alias;                                                    \
+       alias = sym
+#endif
+
 /*
  * WARN_REFERENCES: create a warning if the specified symbol is referenced
  * (ELF only, and thus, no leading underscores).



Home | Main Index | Thread Index | Old Index