-VECTN


This option stores address values in the specified areas in the vector table.

[Specification format]

-VECTN=[vector-number={symbol|address}][,vector-number={symbol|address}]...

 

-

Interpretation when omitted

None

[Detailed description]

-

This option stores the specified address values in the specified locations of the vector table.

-

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

-

Specify a hexadecimal value from 0 to 255 as vector-number.

-

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 at address 0x14 in the vector table, describe as:

>rlink a.obj b.obj -vectn=14=_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.

-

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