Why is GNU/Linux so Bloated?
Shachar Shemesh
shachar at shemesh.biz
Fri Jun 12 14:24:25 IDT 2009
Oleg Goldshmidt wrote:
> Shachar Shemesh <shachar at shemesh.biz> writes:
>
>
>> I'm not sure whether base addresses are allocated randomly or
>> something else is at work here, but collisions are not that common.
>>
>
> You can manually rebase a DLL at post-link time, and I think that DLLs
> shipped by commercial vendors (such as MS :) have precomputed base
> addresses to avoid the overhead of load-time relocations. If many of
> the DLLs in your experience came from 3rd parties then this may
> explain your observation.
>
>
When they did not come from 3rd parties, then I got a link warning when
I linked my application, and I rebased them.
Either way, actual collisions were not so often.
Shachar
> http://en.wikipedia.org/wiki/Portable_Executable#Relocations
> http://www.ddj.com/184416272
>
>
--
Shachar Shemesh
Lingnu Open Source Consulting Ltd.
http://www.lingnu.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20090612/897cf99f/attachment.html>
More information about the Linux-il
mailing list