SECTION_ATTRIBUTES_USR

Constants for the section attributes part of the flags field of a section structure.

Values

ValueMeaning
SECTION_ATTRIBUTES_USR

User setable attributes.

S_ATTR_PURE_INSTRUCTIONS

Section contains only true machine instructions.

S_ATTR_NO_TOC

Section contains coalesced symbols that are not to be in a ranlib table of contents.

S_ATTR_STRIP_STATIC_SYMS

Ok to strip static symbols in this section in files with the MH_DYLDLINK flag.

S_ATTR_NO_DEAD_STRIP

No dead stripping.

S_ATTR_LIVE_SUPPORT

Blocks are live if they reference live blocks.

S_ATTR_SELF_MODIFYING_CODE

Used with i386 code stubs written on by dyld.

S_ATTR_DEBUG

A debug section.

If a segment contains any sections marked with S_ATTR_DEBUG then all sections in that segment must have this attribute. No section other than a section marked with this attribute may reference the contents of this section. A section with this attribute may contain no symbols and must have a section type S_REGULAR. The static linker will not copy section contents from sections with this attribute into its output file. These sections generally contain DWARF debugging info.

SECTION_ATTRIBUTES_SYS

System setable attributes.

S_ATTR_SOME_INSTRUCTIONS

Section contains some machine instructions.

S_ATTR_EXT_RELOC

Section has external relocation entries.

S_ATTR_LOC_RELOC

Section has local relocation entries.

Meta