-rom


< Optimizing Linkage Editor (rlink) Options / Output Options >

[Format]

-rom = <suboption>[,...]
       <suboption>:  <ROM section name>=<RAM section name>

[Description]

-

Reserves ROM and RAM areas in the initialized data area and relocates a defined symbol in the ROM section with the specified address in the RAM section.

-

Specifies a relocatable section including the initial value for the ROM section.

-

Specifies a nonexistent section or relocatable section whose size is 0 for the RAM section.

[Examples]

rom=D=R
start=D/100,R/8000

-

Reserves R section with the same size as D section and relocates defined symbols in D section with the R section addresses.

[Remarks]

-

When form={object | relocate | library}or strip is specified, this option is unavailable.