Source-Changes-HG archive

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

[src/trunk]: src/sys/rump/librump/rumpnet Remove the route_info weak alias. ...



details:   https://anonhg.NetBSD.org/src/rev/a5784739d9c7
branches:  trunk
changeset: 787615:a5784739d9c7
user:      pooka <pooka%NetBSD.org@localhost>
date:      Wed Jun 26 17:10:23 2013 +0000

description:
Remove the route_info weak alias.  It's unnecessary since 2011
and confused Linux ld.so, thus preventing dlopen() of librumpnet.
Reported in private email by Justin Cormack.

Also, g/c a few other stubs which are no longer necessary.

diffstat:

 sys/rump/librump/rumpnet/net_stub.c |  8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diffs (33 lines):

diff -r 14e263a7e35a -r a5784739d9c7 sys/rump/librump/rumpnet/net_stub.c
--- a/sys/rump/librump/rumpnet/net_stub.c       Wed Jun 26 16:53:34 2013 +0000
+++ b/sys/rump/librump/rumpnet/net_stub.c       Wed Jun 26 17:10:23 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: net_stub.c,v 1.13 2012/08/05 15:36:19 pooka Exp $      */
+/*     $NetBSD: net_stub.c,v 1.14 2013/06/26 17:10:23 pooka Exp $      */
 
 /*
  * Copyright (c) 2008 Antti Kantee.  All Rights Reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: net_stub.c,v 1.13 2012/08/05 15:36:19 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: net_stub.c,v 1.14 2013/06/26 17:10:23 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/protosw.h>
@@ -46,14 +46,10 @@
        panic("component not available");
 }
 __weak_alias(rtioctl,__rumpnet_stub);
-__weak_alias(rt_walktree,__rumpnet_stub);
 __weak_alias(rtrequest,__rumpnet_stub);
 __weak_alias(ifioctl,__rumpnet_stub);
 __weak_alias(ifunit,__rumpnet_stub);
 __weak_alias(ifreq_setaddr,__rumpnet_stub);
-__weak_alias(rt_msg1,__rumpnet_stub);
-__weak_alias(route_enqueue,__rumpnet_stub);
-__weak_alias(route_info,__rumpnet_stub);
 
 /*
  * Weak symbols so that we can optionally leave components out.



Home | Main Index | Thread Index | Old Index