Subject: Re: RTLD_GLOBAL breakage in -current
To: Paul Kranenburg <>
From: Todd Vierling <>
List: tech-toolchain
Date: 07/14/1998 17:29:16
On Tue, 14 Jul 1998, Paul Kranenburg wrote:

: Strictly speaking, this is not enough to guarantee binary compatibility
: in all cases, since object files and libraries may exist that were
: compiled under the old conditions. Those should be recompiled.

: The RTLD_LOCAL flag came in per `XSH98'. It seems logical we consult that
: document for an acceptable default behaviour.

     If neither RTLD_GLOBAL nor RTLD_LOCAL are specified, then an       
     implementation-specified default behaviour will be applied.        

I propose that we change the default back to RTLD_GLOBAL to keep both source
and binary compatibility, and have RTLD_LOCAL be the bit option that changes
the default.  This will also have the fortunate effect of not having to
recompile binaries compiled with the existing crt0.o.

-- Todd Vierling (Personal; Bus.