routines_command

The routines command contains the address of the dynamic shared library initialization routine and an index into the module table for the module that defines the routine. Before any modules are used from the library the dynamic linker fully binds the module that defines the initialization routine and then calls it. This gets called before any module initialization routines (used for C++ static constructors) in the library.

Members

Variables

cmd
uint cmd;

LC_ROUTINES.

cmdsize
uint cmdsize;

Total size of this command.

init_address
uint init_address;

Address of initialization routine.

init_module
uint init_module;

Index into the module table that.

reserved1
uint reserved1;
reserved2
uint reserved2;
reserved3
uint reserved3;
reserved4
uint reserved4;
reserved5
uint reserved5;
reserved6
uint reserved6;

Meta