weak alias removal implication: rumpuser_dl_globalsym() can now sleep
with the fishes.
This commit is contained in:
parent
9251b8c304
commit
0cafe662ce
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rumpuser_dl.c,v 1.28 2014/04/02 17:09:23 justin Exp $ */
|
||||
/* $NetBSD: rumpuser_dl.c,v 1.29 2014/04/27 15:19:00 pooka Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2009 Antti Kantee. All Rights Reserved.
|
||||
|
@ -40,7 +40,7 @@
|
|||
#include "rumpuser_port.h"
|
||||
|
||||
#if !defined(lint)
|
||||
__RCSID("$NetBSD: rumpuser_dl.c,v 1.28 2014/04/02 17:09:23 justin Exp $");
|
||||
__RCSID("$NetBSD: rumpuser_dl.c,v 1.29 2014/04/27 15:19:00 pooka Exp $");
|
||||
#endif /* !lint */
|
||||
|
||||
#include <sys/types.h>
|
||||
|
@ -487,10 +487,3 @@ rumpuser_dl_bootstrap(rump_modinit_fn domodinit,
|
|||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
void *
|
||||
rumpuser_dl_globalsym(const char *symname)
|
||||
{
|
||||
|
||||
return dlsym(RTLD_DEFAULT, symname);
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rumpuser.h,v 1.110 2014/03/16 15:30:05 pooka Exp $ */
|
||||
/* $NetBSD: rumpuser.h,v 1.111 2014/04/27 15:18:59 pooka Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007-2013 Antti Kantee. All Rights Reserved.
|
||||
|
@ -227,7 +227,6 @@ typedef void (*rump_modinit_fn)(const struct modinfo *const *, size_t);
|
|||
typedef int (*rump_symload_fn)(void *, uint64_t, char *, uint64_t);
|
||||
typedef void (*rump_compload_fn)(const struct rump_component *);
|
||||
void rumpuser_dl_bootstrap(rump_modinit_fn, rump_symload_fn, rump_compload_fn);
|
||||
void *rumpuser_dl_globalsym(const char *);
|
||||
|
||||
/*
|
||||
* misc management
|
||||
|
|
Loading…
Reference in New Issue