31.12.2013 Views

Linkage Kit Manual V6-00 - Fujitsu

Linkage Kit Manual V6-00 - Fujitsu

Linkage Kit Manual V6-00 - Fujitsu

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CHAPTER 6 LINKER OPTIONS<br />

6.2.20 ROM Area Specification (-ro)<br />

Addressing for section allocation can be simplified by defining the ROM area to be used<br />

by a program.<br />

Program size checking is also enabled.<br />

■ ROM Area Specification (-ro)<br />

[Format]<br />

-ro < Area name > = < Start address > / < End address ><br />

[, < Area name > = < Start address > / < End address > ] …<br />

[Parameters]<br />

<br />

Name to indicate the address area to be set<br />

<br />

Start address of the address area to be set<br />

<br />

End address of the address area to be set<br />

[Description]<br />

The ROM areas are defined. As many areas as required can be defined.<br />

Specify the start address and end address, then name the area.<br />

The area name defined by this option is used in the section allocation option.<br />

The definition of the -ro option alone does not affect linker operation. Be sure to use the area name<br />

defined here for the addressing parameter in the section allocation option.<br />

[Example]<br />

flnk911s *.obj -o ap.abs -ro RomA=0x1<strong>00</strong>0/0x2FFF -sc code=RomA ...<br />

Section allocation of the section name code to the address 0x1<strong>00</strong>0 to 0x2FFF is specified.<br />

The section is allocated starting with the address 0x1<strong>00</strong>0. A warning message is output if the address<br />

0x2FFF is exceeded.<br />

120 PART II LINKER

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!