Konstantin Belousov 0913953c9e rtld: trace preloaded objects
Before, preloaded objects, if not listed as needed for any normally
linked objects, were silently ignored.

Preloaded objects are printed with the `[preloaded]` herald. The list
includes the objects not listed explicitly as recursive dependencies of
the main object, effectively dsos loaded by LD_PRELOAD mechanism.
vdso is listed as well, since it is not needed by anything.

Since there is no DT_NEEDED entry for LD_PRELOADed objects, they are
usually printed using LD_TRACE_LOADED_OBJECTS_FTM2 format due to the
failure of the heuristic based on the presence of the 'lib' prefix.

Reviewed by:	markj
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D34716
2022-04-01 03:51:22 +03:00
..
2021-09-30 23:47:06 -05:00
2019-12-11 17:37:53 +00:00
2020-09-09 00:39:47 +00:00
2022-04-01 03:51:22 +03:00
2019-11-12 22:31:59 +00:00
2019-12-04 16:56:11 +00:00
2021-04-10 11:16:02 +02:00
2020-09-09 00:39:47 +00:00