On Sat, Apr 18, 2009 at 07:05:07PM +0200, Enrico Weigelt wrote: > > Assuming statically linked-in libraries are properly aligned, > we'll have lots of equal pages in the system, so the kernel could > find and automatically map them together. >
Well that's one of the 3 classical options: 1) static linking. 2) static shared libraries [your proposal] 3) dynamically linked shared libraries. For what is worth, you can find explanations in "Linkers and Loaders" by John R. Levine, Morgan Kaufmann, ISBN 1-55860-496-0. HTH, -- Thierry Laronde (Alceste) <tlaronde +AT+ polynum +dot+ com> http://www.kergis.com/ Key fingerprint = 0FF7 E906 FBAF FE95 FD89 250D 52B1 AE95 6006 F40C