Chapter 6 Using Linker

PUT symbol=address

Specify address for extra symbol

Functional description

This option is used to specify addresses for the extra symbols used by the instruction RAM function.

NOTE:

A PUT option is only valid when there are one or more -OVL options.

 

 

 

Rules of use

This option is specified with the hyphen (-) option specification character, followed by the upper case letters 'PUT', the name of an extra symbol, an equals sign, and the address for that symbol. There are two extra symbols:

__overlay_table

and

__iram_manage.

The address is in hexadecimal.

ld103 -T @CODE=80000000 main.rf sub.rf -OVL 1:_TEXT=40000000 seg1.rf

-PUT __overlay_table=a0000000 -PUT __iram_manage=30000000

Default specification

The default for the extra symbol __iram_manage is the address 0; that for __overlay_table, the address following the last section in the external memory.

Instruction RAM Support 113

Page 125
Image 125
Panasonic MN1030 PUT symbol=address Specify address for extra symbol, Overlaytable Irammanage, Address is in hexadecimal