S_REGULAR

Constants for the type of a section.

Values

ValueMeaning
S_REGULAR

Regular section.

S_ZEROFILL

Zero fill on demand section.

S_CSTRING_LITERALS

Section with only literal C strings.

S_4BYTE_LITERALS

Section with only 4 byte literals.

S_8BYTE_LITERALS

Section with only 8 byte literals.

S_LITERAL_POINTERS

Section with only pointers to literals.

S_NON_LAZY_SYMBOL_POINTERS

Section with only non-lazy symbol pointers.

For the two types of symbol pointers sections and the symbol stubs section they have indirect symbol table entries. For each of the entries in the section the indirect symbol table entries, in corresponding order in the indirect symbol table, start at the index stored in the reserved1 field of the section structure. Since the indirect symbol table entries correspond to the entries in the section the number of indirect symbol table entries is inferred from the size of the section divided by the size of the entries in the section. For symbol pointers sections the size of the entries in the section is 4 bytes and for symbol stubs sections the byte size of the stubs is stored in the reserved2 field of the section structure.

S_LAZY_SYMBOL_POINTERS

Section with only lazy symbol pointers.

S_SYMBOL_STUBS

Section with only symbol stubs, byte size of stub in the reserved2 field.

S_MOD_INIT_FUNC_POINTERS

Section with only function pointers for initialization.

S_MOD_TERM_FUNC_POINTERS

Section with only function pointers for termination.

S_COALESCED

Section contains symbols that are to be coalesced.

S_GB_ZEROFILL

Zero fill on demand section (that can be larger than 4 gigabytes).

S_INTERPOSING

Section with only pairs of function pointers for interposing.

S_16BYTE_LITERALS

Section with only 16 byte literals.

S_DTRACE_DOF

Section contains DTrace Object Format.

S_LAZY_DYLIB_SYMBOL_POINTERS

Section with only lazy symbol pointers to lazy loaded dylibs.

S_THREAD_LOCAL_REGULAR

Template of initial values for TLVs.

S_THREAD_LOCAL_ZEROFILL

Template of initial values for TLVs.

S_THREAD_LOCAL_VARIABLES

TLV descriptors.

S_THREAD_LOCAL_VARIABLE_POINTERS

Pointers to TLV descriptors.

S_THREAD_LOCAL_INIT_FUNCTION_POINTERS

Functions to call to initialize TLV values.

S_INIT_FUNC_OFFSETS

32-bit offsets to initializers.

Meta