Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/csu/common_elf Use __weak_extern() instead of an asm sta...



details:   https://anonhg.NetBSD.org/src/rev/01f9a816acc2
branches:  trunk
changeset: 472570:01f9a816acc2
user:      kleink <kleink%NetBSD.org@localhost>
date:      Sun May 02 18:26:43 1999 +0000

description:
Use __weak_extern() instead of an asm statement.

diffstat:

 lib/csu/common_elf/common.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r ea91a711d323 -r 01f9a816acc2 lib/csu/common_elf/common.h
--- a/lib/csu/common_elf/common.h       Sun May 02 18:23:57 1999 +0000
+++ b/lib/csu/common_elf/common.h       Sun May 02 18:26:43 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: common.h,v 1.1 1999/03/20 00:13:51 thorpej Exp $       */
+/*     $NetBSD: common.h,v 1.2 1999/05/02 18:26:43 kleink Exp $        */
 
 /*
  * Copyright (c) 1995 Christopher G. Demetriou
@@ -73,8 +73,8 @@
  * if we happen to be compiling without -static but with without any
  * shared libs present, things will still work.
  */
-asm(".weak _DYNAMIC");
 extern int _DYNAMIC;
+__weak_extern(_DYNAMIC);
 #endif /* DYNAMIC */
 
 #ifdef MCRT0



Home | Main Index | Thread Index | Old Index