]> git.saurik.com Git - apple/ld64.git/blame - doc/man/man1/dyldinfo.1
ld64-95.2.12.tar.gz
[apple/ld64.git] / doc / man / man1 / dyldinfo.1
CommitLineData
55e3d2f6
A
1.Dd November 20, 2008
2.Dt dyldinfo 1
3.Os Darwin
4.Sh NAME
5.Nm dyldinfo
6.Nd "Displays information used by dyld in an executable"
7.Sh SYNOPSIS
8.Nm
9.Op Fl arch Ar arch-name
10.Op Fl rebase
11.Op Fl bind
12.Op Fl weak_bind
13.Op Fl lazy_bind
14.Op Fl export
15.Op Fl opcodes
16.Ar file(s)
17.Sh DESCRIPTION
18Executables built for Mac OS X 10.6 and later have a new format for the
19information in the __LINKEDIT segment. The dyldinfo tool will display
20that information.
21.Pp
22The options are as follows:
23.Bl -tag -width indent
24.It Fl arch Ar arch
25Only display the specified architecture. Other architectures in a universal image are ignored.
26.It Fl rebase
27Display the table of rebasing information. Rebasing is what dyld does when an image is
28not loaded at its preferred address. Typically, this involves updating pointers in the __DATA
29segment which are point within the image.
30.It Fl bind
31Display the table of binding information. These are the symbolic fix ups that dyld must
32do when an image is loaded.
33.It Fl weak_bind
34Display the table of weak binding information. Typically, only C++ progams will have any
35weak binding. These are symbols which dyld must unique accross all images.
36.It Fl lazy_bind
37Display the table of lazy binding information. These are symbols which dyld delays binding
38until they are first used. Lazy binding is automatically used for all function calls to
39functions in some external dylib.
40.It Fl export
41Display the table symbols which this image exports.
42.It Fl opcodes
43Display the low level opcodes used to encode all rebase and binding information.
44.El
45.Sh SEE ALSO
46.Xr otool 1
47.Xr nm 1