--=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Alan Coopersmith writes: > I'm not familiar with the runtime linkers on all platforms, but I know at= least > on Solaris, lazy loading won't load the library until the first reference= to it > is made (or a search needs to be made for a reference that doesn't have d= irect > binding information to record what library to load for it). Ah. That makes sense. I have the feeling that lots of us are planning for or actually using non-lazy loading as that lets the relocation tables be marked read-only after startup (-z relro -z now in the gnu linker). > I also don't know if the ordering between library loading and init section > execution is well defined. That's a good point -- with lazy loading, if the other libraries aren't even loaded until first used, then it seems unlikely that their init sections are invoked before then. =2D-=20 =2Dkeith --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEw4O3eCVWE9/bQJ2R2yIaaQAAABEFAmM11WMACgkQ2yIaaQAA ABF0iBAApBc4Dqx98D4D/65sB/4AFRlrNCqBI05VkaKZqZkgqvha69FinDejcPI7 lQHO325HkV7CCvM3IB9JPB8oLQUq+FO3lCNwo3dKN+oszVYOdlkcB8D1ZcF5vN6u kZIS6dSTNqY0A1p2a72myY1YOpburAf3/zKd2b9bIZkSz97B579cTLomZb6td8S3 dXMi25uTfEuHihI6yvWlDZdTpyt0IhotB/fohf9sg/njh052soh/IkHHzuk3ziyn CrQv2IS/2Sy85YXm+Ssot6pyB4CqKmtshatsV2zI/QTows/Dywb1nP+Xdj+1ZTj4 th2IsF7Lt3v7IoNycx+NV09p3PE4ek7BAoZsDUxLm4OvXF4uAoV+6AhSELqgNOxm WKTXbkhn9nfUg4BXyiiKz3Vg3r2kAK3JMBOkXshZEGAfWLxDqr7l13QLmkBkPuGg VeG290V3DYUiglZjiCAm9JOAhXIAOzlGExmSYbl3p0WasdwrQHHAQTO33D1d2yuU RJ3IiEdCsdPphQkN/NnHQM11kLgfqBYdZ5Y5PHX2PRj4gvn7Ze+La39t5cO8ZIcv h1IiizMqLESAoLQ59H1jcoa02sZuAtTzXWYbo+cHKOZQvz/XZQH8ZBCyFszQib9J yxnXxsseOgCK9pdPWjTXS0p50vFNLjdz2GPn7AhG5qYVWgJkb74= =d/0Y -----END PGP SIGNATURE----- --=-=-=--