Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/rump_allserver Remove LD_DYNAMIC_WEAK whine, by larg...



details:   https://anonhg.NetBSD.org/src/rev/1bbe3addfb5b
branches:  trunk
changeset: 328992:1bbe3addfb5b
user:      pooka <pooka%NetBSD.org@localhost>
date:      Sun Apr 27 15:26:05 2014 +0000

description:
Remove LD_DYNAMIC_WEAK whine, by large it's not necessary anymore.

diffstat:

 usr.bin/rump_allserver/rump_allserver.c |  12 ++----------
 1 files changed, 2 insertions(+), 10 deletions(-)

diffs (33 lines):

diff -r c474117cd80a -r 1bbe3addfb5b usr.bin/rump_allserver/rump_allserver.c
--- a/usr.bin/rump_allserver/rump_allserver.c   Sun Apr 27 15:18:59 2014 +0000
+++ b/usr.bin/rump_allserver/rump_allserver.c   Sun Apr 27 15:26:05 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rump_allserver.c,v 1.36 2014/03/21 16:26:30 pooka Exp $        */
+/*     $NetBSD: rump_allserver.c,v 1.37 2014/04/27 15:26:05 pooka Exp $        */
 
 /*-
  * Copyright (c) 2010, 2011 Antti Kantee.  All Rights Reserved.
@@ -28,7 +28,7 @@
 #include <rump/rumpuser_port.h>
 
 #ifndef lint
-__RCSID("$NetBSD: rump_allserver.c,v 1.36 2014/03/21 16:26:30 pooka Exp $");
+__RCSID("$NetBSD: rump_allserver.c,v 1.37 2014/04/27 15:26:05 pooka Exp $");
 #endif /* !lint */
 
 #include <sys/types.h>
@@ -151,14 +151,6 @@
        unsigned nmods = 0, curmod = 0, nlibs = 0, curlib = 0, libidx;
        unsigned liblast = -1; /* XXXgcc */
 
-#ifdef __GLIBC__
-       char *p_weak;
-
-       if ((p_weak = getenv("LD_DYNAMIC_WEAK")) == NULL || *p_weak != '1')
-               fprintf(stderr, "WARNING: LD_DYNAMIC_WEAK is not set to "
-                   "\"1\" in the environment\n");
-#endif
-
 #ifdef PLATFORM_HAS_SETGETPROGNAME
        setprogname(argv[0]);
 #endif



Home | Main Index | Thread Index | Old Index