Re: reload .so without restarting process

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

 



If I use dlsym() to load the address manually ,will  GOT  be  needed any more ?







2013/12/2 Nicholas Mc Guire <der.herr@xxxxxxx>:
> On Mon, 02 Dec 2013, Hatt Tom wrote:
>
>> And also : why cannot I dlclose a .so that I've linked my executable
>> to, in the usual fashion.
>>
>> is it because the reference count of that .so  would not alwayes to be zero ?
>>
>> It seems puzzling to me ?
>>
> how would you ensure consistency of the GOT ?
> I think the problem is that you would end up with invalid addresses in the GOT
> as they were setup by ld based on link-time information.
>
> thx!
> hofrat



-- 
Best Regards!




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux