6.2.2 Symbols generated by option specifications

The optimizing linker generates the following symbols using option specifications.

Table 6.2

Symbols generated by option specifications

Option

Symbol Name

Explanation

-hide

$CNCL_n

n : 1 - 4294967295

Example) $CNCL_1

The local symbol name in the output file is changed to $CNCL_n.

-user_opt_byte

-ocdbg

.option_byte

The section name ".option_byte" is generated when the device file is specified with the section name ".option_byte" not existing in the source file. Note that the user option byte value and control value for on-chip debugging operation are set in the above section.

-security_id

.security_id

The section name ".security_id" is generated when the device file is specified with the section name ".security_id" not existing in the source file. Note that the security ID value are set in the above section.

-device

__STACK_ADDR_START

__STACK_ADDR_END

A consecutive area not used in the RAM area acquired from the device file is searched for and the following values are set to __STACK_ADDR_START and __STACK_ADDR_END.

__STACK_ADDR_START: Maximum address of the area + 1

__STACK_ADDR_END: Minimum address of the area

 

However, if the -SELF, -SELFW, -OCDTR, -OCDTRW, -OCDHPI, or -OCDHPIW option is specified, the area is set from the RAM area excluding the saddr area.

__RAM_ADDR_START

__RAM_ADDR_END

The RAM area is acquired from the device file, and the following values are set to __RAM_ADDR_START and __RAM_ADDR_END.

__RAM_ADDR_START: Start address of RAM area

__RAM_ADDR_END: End address of RAM area + 1

-debug_monitor

.monitor1

.monitor2

When the device file is specified while section names ".monitor1" and ".monitor2" do not exist in the source file, section names ".monitor1" and ".monitor2" are generated.