-pic [V1.07.00 or later]


This option enables the PIC facility.

[Specification format]

-pic

 

-

Interpretation when omitted

The PIC facility is disabled.

[Detailed description]

-

When this option is specified, the relocation attribute that can be specified in the .cseg or .section directive is changed.

If a relocation attribute shown below is specified, an error will occur.

When this option is specified: TEXT

When this option is not specified: PCTEXT

-

When this option is specified, the predefined macro __PIC will be valid.

-

If this option is not specified simultaneously with the -pirod option, an error will occur.

-

This option only controls the relocation attribute that can be specified. The processing for determining whether there is an error in the code for referencing functions is not performed.