RFC: Support DF_1_GLOBAL

H.J. Lu hjl.tools@gmail.com
Fri Nov 16 19:21:00 GMT 2012


On Fri, Nov 16, 2012 at 11:11 AM, Carlos O'Donell
<carlos@systemhalted.org> wrote:
> On Fri, Nov 16, 2012 at 12:34 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
>> Hi,
>>
>> This simple change adds DF_1_GLOBAL support. Do we want to support
>> this feature?  If yes, I will submit a linker patch to implement
>> -z global and add a testcase for glibc.
>
> The Solaris documention I've seen from Oracle says the value
> of DF_1_GLOBAL is unused.
>
> What documentation defines the purpose of DF_1_GLOBAL?
>
> If DF_1_GLOBAL is documented somewhere, and we are following established
> and compatible practice through the use of RTLD_GLOBAL, then I'm happy
> to support the flag.
>
> Is adding the testcase going to require checking for the new feature
> required to set DF_1_GLOBAL?
>

Yes, we need to check if linker supports -z global.


-- 
H.J.



More information about the Libc-alpha mailing list