README 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841
  1. Apr 20, 2001 -- Manuel Novoa III
  2. Inital port for uClibc from debian ld.so_1.9.11-9.tar.gz.
  3. Removed a.out support.
  4. ****************** original ld.so.lsm file **************************
  5. Begin3
  6. Title: Linux shared, dynamic linker and utilities.
  7. Version: 1.9.11
  8. Entered-date: 01MAY99
  9. Description: This package contains ld.so, ld-linux.so, ldconfig,
  10. ldd and libdl.
  11. Keywords: dynamic linker, shared library, ld.so, ld-linux.so,
  12. ldconfig, ldd, libdl
  13. Author: david@ods.com (David Engel)
  14. Maintained-by: david@ods.com (David Engel)
  15. Primary-site: tsx-11.mit.edu /pub/linux/packages/GCC
  16. ld.so-1.9.11.tar.gz
  17. Alternate-site: sunsite.unc.edu /pub/Linux/GCC
  18. ld.so-1.9.11.tar.gz
  19. Platform: Linux 2.0.0 or later.
  20. Copying-policy: Copyrighted but freely distributable.
  21. End
  22. *********************************************************************
  23. Original README starts here
  24. *********************************************************************
  25. This package contains my ELF dynamic linkers (ld-linux.so.1), dynamic
  26. linker library (libdl.so.1) and utilities (ldconfig and ldd) for Linux.
  27. You need Linux kernel 2.0.0 or later with ELF support compiled in
  28. (i.e. not loaded as a module) to use this package.
  29. The dynamic linker is used to bootstrap programs and load shared
  30. libraries at startup. The dynamic linker library is used to
  31. dynamically load shared libraries after a program is running.
  32. Ldconfig is used to automatically update the symbolic links to shared
  33. libraries and build the cache file used by the dynamic linker. Ldd is
  34. used to list the shared libraries used by a program.
  35. Please see the included manual pages for further details.
  36. To install, simply run "sh instldso.sh" as root. Ready-to-go versions
  37. of all end-products are provided so nothing should need to be compiled
  38. or linked. If you are still using libc5 as your primary development
  39. library, you should use the "--devfiles" option when running
  40. instldso.sh to install the file needed to compile with libdl.
  41. ELF versions of gcc, binutils and libc are now required to compile
  42. everything, including the old, unsupported, a.out dynamic linker.
  43. Finally, an optimization level of O2 or higher must be used to compile
  44. ld-linux.so and libdl.so due the use of inline functions.
  45. Notable contributors to this package include Eric Youngdale, Peter
  46. MacDonald, Hongjiu Lu, Linus Torvalds, Lars Wirzenius, Mitch D'Souza,
  47. Rik Faith, Andreas Schwab and Adam Richter (not necessarily in that
  48. order).
  49. ###################### IMPORTANT NOTICES #############################
  50. A.OUT SUPPORT:
  51. As of ld.so-1.9.0, the old, a.out dynamic loader is no longer
  52. officially supported. The code is still included and built, but I
  53. make no promises that it will work. I will accept patches for it,
  54. but they will not be tested by me.
  55. GLIBC (AKA LIBC6) SUPPORT:
  56. As of ld.so-1.9.0, the main focus of this package is to ease the
  57. transition to libc6. No significant, new features are expected to be
  58. added. If you need new features, switch to libc6.
  59. Except for libpthread.so, the sonames of the core libraries provided
  60. with libc6 have been chosen so they do not conflict with those
  61. provided by libc5 and ld.so. However, the current plan is not use
  62. new, nonconflicting sonames for other libraries such as ncurses and
  63. X11. This presents two problems. First, libraries using the same
  64. soname for both libc5 and libc6 can not be placed in the same
  65. directory. Second, the dynamic linkers need to make sure not to load
  66. a library for the wrong version of libc.
  67. The first problem is easy. Just move the old, libc5-based libraries
  68. to new directories (e.g. /lib/libc5-compat, /usr/lib/libc5-compat,
  69. etc.) and add those directories to /etc/ld.so.conf. Then install the
  70. new, libc6-based versions in the standard places.
  71. The second problem is more difficult. Ideally, the dynamic linkers
  72. would be changed to perform a complete dependency analysis on every
  73. library to be loaded to make sure the wrong versions aren't used.
  74. This approach doesn't seem worth the added complexity, especially
  75. since we now have symbol versioning for ELF libraries. Instead a
  76. simpler approach will be used, at least initially.
  77. Ldconfig has been modified to perform a (currently simple) dependency
  78. analysis on libraries and to store an indication in /etc/ld.so.cache
  79. of whether a library is for libc5, libc6 or an unknown libc. The
  80. dynamic linkers then only need to make a simple check at run-time to
  81. make sure they don't load the wrong version of a library.
  82. The dynamic linker for libc5 provided in this package, has already
  83. been modified to use the new information in /etc/ld.so.cache. For
  84. glibc versions 2.0.1 and earlier, the dynamic linker for libc6 needs
  85. the patch contained in glibc.patch. You should apply the patch and
  86. rebuild glibc before using the new ldconfig.
  87. As stated above, the dependency analysis currently done by ldconfig is
  88. rather simple. Basically, it looks for the sonames used by the
  89. various versions of libc, libm and libdl. For any approach using a
  90. dependency analysis such as this to work, it is very important that
  91. shared libraries be built with complete dependency information. This
  92. can be done by using the appropriate -l options when running 'gcc
  93. -shared'. For example, when building libfoo.so which depends on libc
  94. and libbar, you should add -lbar and -lc gcc command line.
  95. ######################################################################
  96. Changes in version 1.9.11:
  97. Fixed a bug in ld-linux.so where a reference to an
  98. undefined symbol could cause a segfault.
  99. Added a clarification for LD_PRELOAD to the ld.so manual
  100. page and added a symlink for ld-linux.so (Bug#33123).
  101. Don't install ldd for Debian except for the m68k arch
  102. because glibc 2.1 now includes it (Bug#35458).
  103. Changes in version 1.9.10:
  104. Changed ldconfig to issue a warning and not overwrite a
  105. regular file with a symlink (Bug#30859).
  106. Changed Debian packaging to conflict with and replace the
  107. ldconfig package (Bug#29398).
  108. Changes in version 1.9.9:
  109. Changed ld-linux.so and libdl.so to match glibc by not
  110. allowing user preloads of system libraries into setu/gid
  111. binaries unless the library itself is setuid.
  112. Fixed problems in ld-linux.so on the sparc architecture
  113. (Juan Cespedes).
  114. Changes in version 1.9.8:
  115. Changed ldconfig to allow the expected type for all
  116. libraries in a directory to be optionally specified
  117. (Mark Phillips). See the ldconfig man page.
  118. Changed ldconfig to use the same type names used in the
  119. change above when the -p option is used.
  120. Changes in version 1.9.7:
  121. Changed ldd for m68k to use /lib/ld.so.1 instead of
  122. /lib/ld-linux.so.2.
  123. Added support for dladdr to libdl.so (Eduard Gode).
  124. Fixed a small memory leak in libdl.so (Richard Garnish).
  125. Fixed a bug in ldconfig when the -l option was used on a
  126. filename without a '/' in it.
  127. Updated the man pages (Bug#6404, Bug#9721, Bug#10652,
  128. Bug#13494 and Bug#14127). They could still use some work.
  129. No longer install the info page since it's way out of date.
  130. Fixed minor Debian packaging problems (Bug#13160,
  131. Bug#15577 and Bug#19345).
  132. Changes in version 1.9.6:
  133. Changed ldd to not use the glibc dynamic linker when run
  134. on a libc5-based shared library.
  135. Added a -q option to ldconfig which causes warnings not
  136. to be printed (Bob Tinsley).
  137. Dropped support for the Debian libdl1-dev package.
  138. Changed ld-linux.so to be compilable with gcc 2.8.0 (Sven
  139. Verdoolaege)
  140. Changes in version 1.9.5:
  141. Fixed a bug in ldd where ld-linux.so.2 was not called
  142. correctly when run on shared libraries.
  143. Fixed a problem in the previous version where some
  144. Makefiles were not architecture independent.
  145. Changes in version 1.9.4:
  146. Fixed a bug in ld.so introduced in the previous version
  147. which broke preloads.
  148. Turned a.out support back on by default, at least for the
  149. time being. There are no promises to keep it.
  150. Changes in version 1.9.3:
  151. Fixed buffer overflow bugs in ld-linux.so and ld.so.
  152. Changed the README file a little to clarify a couple of
  153. things.
  154. Changed ldconfig to chroot to the specified directory when
  155. the new -r option is used (Bob Tinsley).
  156. Changes in version 1.9.2:
  157. Removed /usr/local/lib from the default /etc/ld.so.conf
  158. for Debian (Bug#8181).
  159. Changed ldconfig to be 64-bit clean (H.J. Lu).
  160. Changes in version 1.9.1:
  161. Changed ldconfig to try to determine which libc a
  162. library is for even if it doesn't have an soname.
  163. Fixed a bug in ldconfig where an older library using
  164. the glibc naming convention would be used instead of
  165. a newer library.
  166. Changed to ld-linux.so and libdl.so to not require the
  167. libc5 headers in order to compile.
  168. Changed ldconfig and ldd to be compilable with either
  169. libc5 or libc6.
  170. Changes in version 1.9.0:
  171. Changed to not build the old, a.out dynamic loader by
  172. default.
  173. Changed instldso.sh to require the --force option to
  174. make sure users read the README file.
  175. Changed instldso.sh to not install the libdl.so
  176. development files unless the --devfiles option is used.
  177. Changed instldso.sh to not strip binaries and libraries
  178. if the --no-strip option is used.
  179. Changed the Debian packaging to put the development files
  180. which conflict with glibc in a new libdl1-dev package.
  181. Changed ldd to use the glibc dynamic linker, if it is
  182. available, when run on a shared library.
  183. Changed ld-linux.so to print the load addresses of
  184. libraries, ala glibc, when run by ldd.
  185. Changed ld-linux.so to allow the libraries listed in
  186. LD_PRELOAD to be separated by white space in addition to
  187. colons.
  188. Changed ld-linux.so to load the libraries listed in
  189. LD_PRELOAD for setu/gid programs as long as they can be
  190. loaded securely.
  191. Changed ldconfig to update the symlinks for the dynamic
  192. linkers.
  193. Changed ldconfig to try to determine if an ELF library is
  194. intended for libc5 or libc6 and save the infomation in the
  195. cache. The mechanism used is rather simplistic and may
  196. need to be enhanced.
  197. Changed ldconfig to print the type of ELF library when
  198. printing the cache.
  199. Changed ld-linux.so to only load ELF shared libraries for
  200. use with libc5 or an unknown libc.
  201. Changes in version 1.8.10:
  202. Fixed a bug in ldconfig where a symlink could be used
  203. instead of a regular file.
  204. Fixed a Debian packaging problem for the sparc
  205. architecture.
  206. Changes in version 1.8.9:
  207. Changed ldconfig to only cache the symlinks it creates.
  208. This make the behavior of the dynamic linkers consistent
  209. with how they would behave if a cache was not used.
  210. Changed ldconfig to cache the symlinks that it finds but
  211. use the name of the symlink as the soname instead of the
  212. actual soname.
  213. Changes in version 1.8.8:
  214. Minor documentation updates to reflect recent changes.
  215. Changed ld.so and ld-linux.so to perform more complete
  216. validation on ld.so.cache before using it.
  217. Changed ldconfig to accept libraries with inconsistent
  218. sonames since glibc is going to use them. A warning is
  219. still printed in debug mode.
  220. Changed the install script to not strip _dl_debug_state
  221. from ld-linux.so since gdb needs it.
  222. More sparc fixes (Derrick Brashear).
  223. Changed ldconfig to not issue a warning when a linker
  224. script disguised as a shared library is found.
  225. Fixed a bug in ld-linux.so where some registers were
  226. not preserved on the first call to a function causing
  227. problems for non-C-like languages (Tim Renouf).
  228. Fixed a bug in ld-linux.so where global variables were
  229. not always mapped correctly across dynamically loaded
  230. libraries (Mikihiko Nakao).
  231. Converted to new Debian source packaging format (Shaya
  232. Potter).
  233. Changes in version 1.8.6/7:
  234. Never released as some unofficial patches used these
  235. version numbers.
  236. Changes in version 1.8.5:
  237. Fixed a bug in ld.so introduced in the previous changes.
  238. Changes in version 1.8.4:
  239. Changed ldconfig to completely ignore symbolic links.
  240. Changed ldconfig to issue the warning concerning an
  241. inconsistent soname in non-verbose mode.
  242. Changed ld-linux.so back to not keep ld.so.cache mapped
  243. at all times.
  244. Changed Debian packaging to compress man pages, strip all
  245. binaries (Bug#5125) and include a shlibs file.
  246. Changes in version 1.8.3:
  247. Changed ld-linux.so to process LD_PRELOAD before
  248. /etc/ld.so.preload.
  249. Fixed a Debian packaging problem where libdl might not
  250. be available if other packages were upgraded at the same
  251. time (Debian Bug#4728).
  252. Changed ldd to always exit with status 1 if any errors
  253. occur (Debian Bug#4188).
  254. Fixed some minor problems in instldso.sh (Mike Castle and
  255. Wolfgang Franke).
  256. Changed ldconfig to issue a warning in verbose mode when
  257. skipping a library because the soname doesn't match.
  258. More sparc fixes (Miguel de Icaza).
  259. Don't link with -N when building ld.so (Alan Modra).
  260. Changed ld-linux.so to better support position-dependant
  261. libraries (NIIBE Yutaka).
  262. Changes in version 1.8.2:
  263. Added a texinfo file for ld.so and libdl (Michael
  264. Deutschmann).
  265. Minor sparc and installation changes (Elliot Lee).
  266. Added multiple architecture support for Debian (Leland
  267. Lucius).
  268. Changed libdl to better support RTLD_NEXT (Eric
  269. Youngdale). Note: the exact meaning of ETLD_NEXT is
  270. still not clear in all cases.
  271. Removed some libc dependencies from libdl. Still need
  272. to remove malloc and free.
  273. Changes in version 1.8.1:
  274. Changed ld.so to be compiled as ELF. This also means
  275. that ELF support is now required. A.out support is
  276. still optional.
  277. Changed ld-linux.so and libdl.so to use the rpath in the
  278. executable instead of in the invoking shared library.
  279. More m68k fixes (Andreas Schwab).
  280. Various sparc fixes (Miguel de Icaza).
  281. Changed ldcnnfig to ignore libraries ending in '~'.
  282. Changed ldconfig to allow alternative conf and cache
  283. files to be specified on the command-line.
  284. Changed libdl.so to work when dlsym is passed a NULL
  285. handle pointer.
  286. Changes in version 1.8.0:
  287. Changed ld-linux.so to be more liberal when checking to
  288. see if a library is already loaded. This should avoid
  289. the duplicate loading problem for programs linkeed with
  290. the -rpath option.
  291. Various m68k fixes (Andreas Schwab).
  292. Changed ld.so to only use LD_AOUT_LIBRARY_PATH and
  293. LD_AOUT_PRELOAD and ld-linux.so to only use
  294. LD_LIBRARY_PATH and LD_PRELOAD. LD_ELF_LIBRARY_PATH
  295. and LD_ELF_PRELOAD are no longer supported.
  296. Changed ld-linux.so to allow debugging of shared and
  297. dynamically loaded libraries (H.J. Lu, Andreas Schwab).
  298. Changed ld-linux.so to preload ELF shared libraries
  299. listed in /etc/ld.so.preload. This allows secure
  300. preloads, even for setuid/setgid programs.
  301. Changed ld-linux.so to keep ld.so.cache mapped at all
  302. times.
  303. Changed ldconfig to allow #-style comments in ld.so.conf.
  304. Removed various compiler warnings (Richard Sladkey and
  305. David Engel).
  306. Changed ldd to work on ELF shared libraries. This may
  307. need a little more work.
  308. Changes in version 1.7.14:
  309. Changed ldconfig to recognize ELF shared libraries
  310. generated by post-2.6 versions of ld (Andreas Schwab).
  311. Changed ldconfig to not remove stale links that do not
  312. have a version number since they may be needed by ld.
  313. Changes in version 1.7.13:
  314. Fixed a problem in ld-linux.so where a program linked
  315. with a shared library that was not used could result in
  316. a segmentation fault (H.J. Lu).
  317. Changes in version 1.7.12:
  318. Fixed a problem in libdl.so where the wrong library
  319. could be marked as global when RTLD_GLOBAL was used
  320. (Lars Heete).
  321. Installed dlfcn.h with libdl.so instead of requiring
  322. it to be supplied with libc.
  323. Removed support for libldso.a since it was nearly
  324. impossible to use anyway.
  325. Changed ldd to detect when the program being checked
  326. exited abnormally.
  327. Changes in version 1.7.11:
  328. Changed ld.so and ld-linux.so to delete all variations
  329. of LD_PRELOAD and LD_LIBRARY_PATH for set[ug]id programs,
  330. This makes it harder for broken set[ug]id programs to be
  331. compromised.
  332. Fixed a problem in libdl.so where dlsym would not accept
  333. the handle returned from dlopen(0, *).
  334. Changes in version 1.7.10:
  335. Changed ld-linux.so and libdl.so to support RTLD_GLOBAL
  336. (Eric Youngdale).
  337. Changes in version 1.7.9:
  338. Fixed a problem in ld-linux.so in detecting when the
  339. new user/group information is provided by the kernel.
  340. Fixed a problem in ld-linux.so where a buffer could be
  341. overflowed if a large number of libraries were loaded
  342. (Thomas Moore).
  343. Changes in version 1.7.8:
  344. Changed the Makefiles and install scripts to support
  345. a.out- and ELF-only configurations.
  346. Changed ld-linux.so to use the user/group information
  347. provided by linux 1.3.23+ instead of making syscalls
  348. to get it.
  349. Changed libdl.so to support RTLD_NEXT (Glenn Fowler).
  350. Changed libdl.so to only execute the fini sections
  351. instead of completely closing libraries at exit (Glenn
  352. Fowler).
  353. Changed ld.so and ld-linux.so to print the required
  354. cache version when a mismatch is detected.
  355. Changed ld-linux.so to not require on /dev/zero (Ralph
  356. Loader).
  357. Minor m68k cleanups (Andreas Schwab).
  358. Changes in version 1.7.7:
  359. Fixed problems compiling with recent 1.3.x kernels.
  360. Changed ld-linux.so to not use MAP_DENYWRITE until the
  361. permission issue regarding it is resolved.
  362. Changes in version 1.7.6:
  363. Fixed a bug in ld-linux.so dealing with a zero-length
  364. LD_{ELF_}PRELOAD.
  365. Changed ld.so and ld-linux.so to truncate all variations
  366. of LD_PRELOAD and LD_LIBRARY_PATH for set[ug]id programs.
  367. Changes in version 1.7.5:
  368. Changed ldconfig to recognize libraries without any
  369. version number (eg. libXYZ.so).
  370. Changed ldconfig to not generate a corrupt cache when
  371. the disk is full or other write errors occur.
  372. Changed ld-linux.so to map files with MAP_DENYWRITE to
  373. keep them from being changed while the file is in use
  374. (Rick Sladkey).
  375. Changed libdl to not overwrite the scope pointer of a
  376. library if it was already loaded (H.J. Lu).
  377. Changed ld-linux.so so gdb can be used on constructors
  378. (Eric Youngdale).
  379. Changed ldconfig to ignore ELF libraries where the soname
  380. does not match the file name on the assumption that it is
  381. a used at compile-time (eg. libcurses.so -> libncruses.so).
  382. Changes in version 1.7.4:
  383. Changed ld-linux.so and libdl to use the appropriate
  384. rpaths when searching for shared libraries (Eric
  385. Youngdale).
  386. Changed ld-linux.so to search rpath before using the
  387. cache. This more closely conforms to the IBCS standard.
  388. Changes in version 1.7.3:
  389. Changed ld-linux.so to only print a library name the
  390. first time it is loaded when run from ldd.
  391. Fixed a bug in ldconfig where an invalid cache could be
  392. generated if a directory was specified multiple times in
  393. ld.so.conf.
  394. Changed ld-linux.so so it will return the address of a
  395. weak symbol when called from dlsym in libdl (Eric
  396. Youngdale.
  397. Changes in version 1.7.2:
  398. Changed libdl.so again to fix the undefined foobar
  399. problem.
  400. Changes in version 1.7.1:
  401. Changed libdl so it will compile at optimization level
  402. O3 or higher.
  403. Changed ldconfig to always create the cache file with
  404. mode 644.
  405. Changed ldconfig to not ingore valid symlinks.
  406. Changed ldconfig to use the library name as the soname
  407. for ELF libraries that do not have an soname entry.
  408. Changed ld-linux.so to print the actual, requested library
  409. name at the time it is loaded instead of trying to figure
  410. it out after the fact.
  411. Changes in version 1.7.0:
  412. Changed ldconfig to read the actual soname from the image
  413. for ELF libraries and make it available to ld-linux.so.
  414. The soname for DLL libraries is still determined by
  415. truncating the minor numbers from the image file name.
  416. Changed ldconfig to no longer support the undocumented
  417. sort options.
  418. Changed ld.so to require a valid cache to find libraries
  419. in directories specified in ld.so.conf. /usr/lib and /lib
  420. are still searched as a last resort. Ld-linux.so already
  421. operated this way.
  422. Fixed a bug in libldso.a where the arguments to
  423. shared_loader were not parsed correctly (Wolfram Gloger).
  424. Added support for RELA-style relocations under Linux/68k
  425. (Andreas Schwab).
  426. Changed ld-linux.so to only map the cache once for all
  427. libraries instead of individually for each library.
  428. Changed ld-linux.so continue searching the cache instead of
  429. giving up when failing to load the first entry found.
  430. Changed ld-linux.so to produce output similar to ld.so when
  431. run from ldd or when errors occur.
  432. Changes in version 1.6.7:
  433. Changed the install scripts to make sure that ld.so and
  434. ld-linux.so are always usable.
  435. Added support for Linux/Sparc (Eric Youngdale).
  436. Added support for Linux/68k (Andreas Schwab).
  437. Fixed various bugs in ld-linux.so dealing with closing
  438. files, unmapping memory, dereferencing NULL pointers and
  439. printing library names (David Engel, Eric Youngdale and
  440. Andreas Schwab).
  441. Replaced the manual page for libdl with a freely
  442. distributable one (Adam Richter).
  443. Fixed a bug in ld-linux.so where LD_LIBRARY_PATH and
  444. LD_PRELOAD were not cleared for setuid/setgid programs.
  445. Fixed a bug in libdl where dlsym would not return the
  446. correct address of a symbol if it was redefined in another
  447. library (Oleg Kibirev).
  448. Changed ld-linux.so to use the following order to search
  449. for libraries: LD_{ELF_}LIBRARY_PATH, ld.so.cache, rpath,
  450. /usr/lib and /lib.
  451. Changed ld-linux.so to not needlessly allocate memory when
  452. using ld.so.cache.
  453. Changes in version 1.6.6:
  454. Changed ldconfig to not warn about removing stale links
  455. unless the -v option is specified.
  456. Added manual pages for libdl (from FreeBSD/Sun)
  457. Fixed a bug in ld.so dealing with preloading of objects
  458. generated by recent versions of ld (Mitch D'Souza).
  459. Fixed bugs in ldd where some errors were either not
  460. detected or not printed.
  461. Fixed a bug in ld-linux.so where the trailing nul in a
  462. library name was not being copied (Owen Taylor).
  463. Changes in version 1.6.5:
  464. Changed ldconfig to remove stale symbolic links.
  465. Added debug hooks in ld-linux.so and libdl.so to be used
  466. by a future version of gdb (Eric Youngdale).
  467. Changes in version 1.6.4:
  468. Change ld-linux.so to print on stdout instead of stderr
  469. when run from ldd.
  470. Added support for Debian GNU/Linux packaging.
  471. Changes in version 1.6.3:
  472. Fixed a bug in libdl when closing a library (H.J. Lu).
  473. Changes in version 1.6.2:
  474. Changed the error message printed by ldd when a file is
  475. not a.out or ELF. It used to only list a.out formats.
  476. Changed ldconfig to no longer cache and set up links for
  477. ld-linux.so.
  478. Changed ld-linux.so and libdl to not conflict with upcoming
  479. changes in kernel header files.
  480. Changed ld-linux.so to not print preloaded libraries.
  481. Changes in version 1.6.1:
  482. Updated the installation script.
  483. Changed ld.so and ld-linux.so to look for LD_AOUT_PRELOAD
  484. and LD_ELF_PRELOAD, respectively, before LD_PRELOAD.
  485. Changed ld.so and ld-linux.so to use LD_AOUT_LIBRARY_PATH
  486. and LD_ELF_LIBRARY_PATH, respectively, instead of
  487. AOUT_LD_LIBRARY_PATH and ELF_LD_LIBRARY_PATH.
  488. Changes in version 1.6.0:
  489. Changed ldconfig to process libraries which do not have
  490. a minor version or patch level number.
  491. Incorporated ld-linux.so and libdl.so.
  492. Changed ld.so and ld-linux.so to not miss entries in the
  493. cache when the fully qualified library is requested.
  494. Changed ldconfig to use stdout instead of stderr when
  495. printing the cache.
  496. Changes in version 1.5.3:
  497. LD_PRELOAD enhancements (Tristan Gigold).
  498. LD_PRELOAD patch for linux-68k (Andreas Schwab).
  499. Changes in version 1.5.2:
  500. More ELF changes (Mitch D'Souza).
  501. Changed ldconfig to also update the link for ld-linux.so.
  502. Changes in version 1.5.1:
  503. More ELF and LD_PRELOAD changes (Mitch D'Souza).
  504. Changes in version 1.5.0:
  505. Chnaged all executables to QMAGIC (Mitch D'Souza and Rick
  506. Sladkey).
  507. Added preliminary support for ELF to ldd and ldconfig (Eric
  508. Youndale and H.J. Lu).
  509. Added support for LD_PRELOAD to ld.so (Mitch D'Souza).
  510. Removed the "advertising" clause from the copyright notices
  511. in all source files.
  512. Changes in version 1.4.4:
  513. Changed ldconfig to support QMAGIC libraries.
  514. Fixed a bug in ld.so where some of the error messages had
  515. transposed arguments.
  516. Changes in version 1.4.3:
  517. Fixed an obscure bug in ld.so where an index was not being
  518. incremented when a library was not found using the cache.
  519. Changes in version 1.4.2:
  520. Changed ldconfig to issue a warning and continue instead
  521. of an error and exiting when a link can't be updated.
  522. This is useful when some libraries are imported on read-
  523. only file systems, such as an NFS mounted /usr.
  524. Changed ld.so to be more robust in searching for libraries.
  525. A library is not considered found unless it can actually be
  526. loaded. If a library is not found using the cache, the
  527. standard directories are searched as in pre-cache versions.
  528. Changes in version 1.4.1:
  529. Fixed minor Makefile problems.
  530. Added support for linux-68k.
  531. Fixed a bug in ld.so where libraries with absolute paths
  532. were not handled correctly.
  533. Changed ld.so to ignore the directory in the names of
  534. shared libraries by default. This allows older libraries
  535. with absolute paths, such as the XView libraries, to take
  536. advantage of the cache support.
  537. Added a minimal usage message to ldconfig.
  538. Changes in version 1.4:
  539. Fixed bug in ld.so where minor version numbers were not
  540. reported correctly when a minor version incompatibility
  541. was found.
  542. Fixed bug in ldconfig where libraries with subversion
  543. numbers greater than 9 were not compared correctly.
  544. Added Mitch D'Souza's support for suppressing warning
  545. messages from ld.so about minor version incompatibilities.
  546. Added Mitch D'Souza's support for using a cache to speed
  547. up searching for libraries in the standard directories.
  548. Added Mitch D'Souza's support for a debugging version of
  549. ld.so. Link with -lldso if you think you are experiencing
  550. dynamic linker problems.
  551. Changes in version 1.3:
  552. Added support for libraries using absolute pathnames. If I
  553. had known that the XView libraries used them, I would have
  554. added this earlier.
  555. Fixed a bug handling old libraries using a pathname beginning
  556. with '/' or '/lib/'.
  557. Changes in version 1.2a:
  558. Fixed a minor bug in ldd which caused all files, specifically
  559. scripts, to be recognized as binaries. Thanks to Olaf Flebbe
  560. for reporting it.
  561. David Engel
  562. david@sw.ods.com