-MAp


This option outputs the external variable allocation information file.

[Specification format]

-MAp[=file]

 

-

Interpretation when omitted

None

[Detailed description]

-

This option outputs external variable allocation information file file that is used by the compiler in optimizing access to external variables.

-

If the specification of the file name is omitted, the file name is the one specified by the -output option or "first-input file-name.bls".

-

If the order of the declaration of variables in the external variable allocation information file is not the same as the order of the declaration of variables found when the object was read after recompilation, an error will occur.

-

In the following case, the linker outputs the external variable allocation information file and, when the –LIst option is specified, outputs the list file. After that, the linker terminates operation normally. Note that the linker does not output a load module file in this case. [V1.05.00 or later]

-

When the section allocation address exceeds the allowable address range:

In the external variable allocation information file, information regarding only the symbols and sections allocated within the allowable areas are output.

[Example of use]

-

To output external variable allocation information file file.bls, describe as:

>rlink a.obj b.obj -output=c.abs -map=file.bls

[Remark]

-

This option is valid only when the -form={absolute|hexadecimal|stype|binary} option is specified.