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



details:   https://anonhg.NetBSD.org/src/rev/b869f1127574
branches:  netbsd-1-5
changeset: 488700:b869f1127574
user:      kleink <kleink%NetBSD.org@localhost>
date:      Tue Jul 25 08:19:53 2000 +0000

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

diffstat:

 sys/arch/alpha/include/asm.h |  4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r 09e7d8379a1b -r b869f1127574 sys/arch/alpha/include/asm.h
--- a/sys/arch/alpha/include/asm.h      Tue Jul 25 04:26:45 2000 +0000
+++ b/sys/arch/alpha/include/asm.h      Tue Jul 25 08:19:53 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: asm.h,v 1.22 1998/12/02 00:58:42 thorpej Exp $ */
+/* $NetBSD: asm.h,v 1.22.20.1 2000/07/25 08:19:53 kleink Exp $ */
 
 /* 
  * Copyright (c) 1991,1990,1989,1994,1995,1996 Carnegie Mellon University
@@ -614,12 +614,10 @@
  * WEAK_ALIAS: create a weak alias (ELF only).
  */
 #ifdef __ELF__
-#if 0  /* No weak symbols in libc yet! */
 #define WEAK_ALIAS(alias,sym)                                  \
        .weak alias;                                            \
        alias = sym
 #endif
-#endif
 
 /*
  * WARN_REFERENCES: create a warning if the specified symbol is referenced



Home | Main Index | Thread Index | Old Index