-qfuncsect

Description

Places instructions for each function in a separate object file control section or csect. By default, each object file will consist of a single control section combining all functions defined in the corresponding source file.

Syntax

Read syntax diagramSkip visual syntax diagram        .-nofuncsect-.
>>- -q--+-funcsect---+-----------------------------------------><

Notes

Using multiple csects increases the size of the object file, but can reduce the size of the final executable by allowing the editor to remove functions that are not called or that have been inlined by the optimizer at all places they are called.

If the file contains initialized static data or the pragma statement

#pragma comment (copyright)

some functions will be one machine word larger.

If this option is specified in #pragma options, the pragma directive must be specified before the first statement in the compilation unit.

Related information