-VECT


This option stores an address value in the unused areas in the vector table.

[Specification format]

-VECT={symbol|address}

 

-

Interpretation when omitted

None

[Detailed description]

-

This option stores the specified address value in the unused areas of the vector table (addresses where no handler address value is stored).

-

When this option is specified, the optimizing linker creates a vector table section and stores the specified address value in the vector table addresses even if no interrupt handlers are written in the source program.

-

Specify the external name of the target function prefixed with an underscore (_) as symbol.

-

Specify the desired hexadecimal address for address.

-

The value to be set at address 0x2 and 0x3 of the vector table is determined in the following order of priority.
-rrm option > -debug_monitor option > Assembly source file specification > -vectn option > -vect option

[Example of use]

-

To store the address of _dummy in the unused locations in the vector table, describe as:

>rlink a.obj b.obj -vect=_dummy

[Remark]

-

This option is ignored when the user creates a vector table address section in the source program because the vector table is not automatically created in this case.

-

When the {symbol|address} specification is started with 0, the whole specification is assumed as an address.

-

If the -form={object|relocate|library} option, -strip option, or -extract option is specified, this option will be invalid.