X-Git-Url: https://git.saurik.com/apple/dyld.git/blobdiff_plain/19894a1236eae932b4028640f24ab843f691d4e4..07b30f7e92a3b2f28e03ee55dc887f04e00536c3:/doc/man/man1/dyld.1 diff --git a/doc/man/man1/dyld.1 b/doc/man/man1/dyld.1 index 50729a7..3c58b80 100644 --- a/doc/man/man1/dyld.1 +++ b/doc/man/man1/dyld.1 @@ -1,6 +1,6 @@ -.TH DYLD 1 "December 14, 2009" "Apple Inc." +.TH DYLD 1 "June 1, 2017" "Apple Inc." .SH NAME -dyld \- the dynamic link editor +dyld \- the dynamic linker .SH SYNOPSIS DYLD_FRAMEWORK_PATH .br @@ -16,8 +16,6 @@ DYLD_VERSIONED_LIBRARY_PATH .br DYLD_PRINT_TO_FILE .br -DYLD_ROOT_PATH -.br DYLD_SHARED_REGION .br DYLD_INSERT_LIBRARIES @@ -32,8 +30,6 @@ DYLD_PRINT_ENV .br DYLD_PRINT_LIBRARIES .br -DYLD_PRINT_LIBRARIES_POST_LAUNCH -.br DYLD_BIND_AT_LAUNCH .br DYLD_DISABLE_DOFS @@ -58,8 +54,12 @@ DYLD_SHARED_CACHE_DIR .br DYLD_SHARED_CACHE_DONT_VALIDATE .SH DESCRIPTION -The dynamic linker uses the following environment variables. -They affect any program that uses the dynamic linker. +The dynamic linker checks the following environment variables during the launch +of each process. +.br +.br +Note: If System Integrity Protection is enabled, these environment variables are ignored +when executing binaries protected by System Integrity Protection. .TP .B DYLD_FRAMEWORK_PATH This is a colon separated list of directories that contain frameworks. @@ -152,10 +152,6 @@ logging output (triggered by DYLD_PRINT_* settings) to file descriptor 2 (which is usually stderr). But this setting causes the dynamic linker to write logging output to the specified file. .TP -.B DYLD_ROOT_PATH -This is a colon separated list of directories. The dynamic linker will prepend each of -this directory paths to every image access until a file is found. -.TP .B DYLD_SHARED_REGION This can be "use" (the default), "avoid", or "private". Setting it to "avoid" tells dyld to not use the shared cache. All OS dylibs are loaded @@ -203,11 +199,6 @@ This is useful to make sure that the use of .SM DYLD_LIBRARY_PATH is getting what you want. .TP -.B DYLD_PRINT_LIBRARIES_POST_LAUNCH -This does the same as -.SM DYLD_PRINT_LIBRARIES -but the printing starts after the program gets to its entry point. -.TP .B DYLD_BIND_AT_LAUNCH When this is set, the dynamic linker binds all undefined symbols the program needs at launch time. This includes function symbols that can are normally @@ -217,7 +208,11 @@ lazily bound at the time of their first call. Right before the process's main() is called, dyld prints out information about how dyld spent its time. Useful for analyzing launch performance. .TP -.B DYLD_DISABLE_DOFS +.B DYLD_PRINT_STATISTICS_DETAILS +Right before the process's main() is called, dyld prints out detailed information about how +dyld spent its time. Useful for analyzing launch performance. +.TP +.B DYLD_DISABLE_DOFS Causes dyld not register dtrace static probes with the kernel. .TP .B DYLD_PRINT_INITIALIZERS @@ -302,4 +297,4 @@ with -rpath @loader_path/zzz, where zzz is the path from the executable to the a At runtime dyld sets it run path to be the anchor point, then each dylib is found relative to the anchor point. .SH "SEE ALSO" -libtool(1), ld(1), otool(1) +dyldinfo(1), ld(1), otool(1)