OpenBSD lacks RTLD_GLOBAL, so it should be removed from
dynloader/openbsd.h

(netbsd and freebsd do have it, so its kosher there)

-alex


Fri, 15 Jun 2001 18:41:27 -0400 (EDT)
Alex Pilosov <alex@pilosoft.com>
RTLD_GLOBAL on openbsd
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> OpenBSD lacks RTLD_GLOBAL, so it should be removed from
> dynloader/openbsd.h

I agree with this and my regression tests now pass.  Can someone please
apply the attached patch?

- - Brandon

- ----------------------------------------------------------------------------
 b. palmer,  bpalmer@crimelabs.net            pgp:crimelabs.net/bpalmer.pgp5


-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
Charset: noconv

iQA/AwUBOyuO0PYgmKoG+YbuEQK+agCfde8j3y0KxbwhUqIyVNpEjEqCp74AoPyt
b7+D94bTAw/yXYIValtBNB7d
=eisL
-----END PGP SIGNATURE-----
Sat, 16 Jun 2001 12:52:22 -0400 (EDT)
bpalmer <bpalmer@crimelabs.net>
Re: RTLD_GLOBAL on openbsd
Alex Pilosov writes:

> OpenBSD lacks RTLD_GLOBAL, so it should be removed from
> dynloader/openbsd.h

Okay.

Btw., couldn't we replace dynloader/openbsd.h with something more like,
say, dynloader/sunos4.h and get rid of the BSD44_derived_dl*() functions?
AFAICT, the issue was that on earlier (Net|Free)BSD systems you needed to
prepend an '_' to the looked-up symbol, but I could not find any reference
to this in the OpenBSD documentation.

-- 
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter


Sat, 16 Jun 2001 19:05:53 +0200 (CEST)
Peter Eisentraut <peter_e@gmx.net>
Re: RTLD_GLOBAL on openbsd
On Sat, 16 Jun 2001, Peter Eisentraut wrote:

> Alex Pilosov writes:
> 
> > OpenBSD lacks RTLD_GLOBAL, so it should be removed from
> > dynloader/openbsd.h
> 
> Okay.
> 
> Btw., couldn't we replace dynloader/openbsd.h with something more like,
> say, dynloader/sunos4.h and get rid of the BSD44_derived_dl*() functions?
> AFAICT, the issue was that on earlier (Net|Free)BSD systems you needed to
> prepend an '_' to the looked-up symbol, but I could not find any reference
> to this in the OpenBSD documentation.
On OpenBSD, you still need to do that. I haven't checked Free yet, but I
think that's still true also.
-alex
	


Sat, 16 Jun 2001 20:10:11 -0400 (EDT)
Alex Pilosov <alex@pilosoft.com>
Re: RTLD_GLOBAL on openbsd
Alex Pilosov writes:

> OpenBSD lacks RTLD_GLOBAL, so it should be removed from
> dynloader/openbsd.h

RTLD_GLOBAL removed.  You better hope it acts like it by default, though.

-- 
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter


Wed, 20 Jun 2001 20:36:09 +0200 (CEST)
Peter Eisentraut <peter_e@gmx.net>
Re: RTLD_GLOBAL on openbsd