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.

6.2 Details of Linker Options<br />

[Description]<br />

Checksum operation is performed for the area specified by start address and end address.<br />

When checksum operation is performed on several areas collectively, specify in one -cs option.<br />

When checksum operation is performed in different areas, specify the areas in -cs options.<br />

-cs 0xFE8<strong>00</strong>0/0xFE8FFF,0xFF8<strong>00</strong>0/0xFFFFFF,SUM32=2,0xAA<br />

Checksum operation is performed on areas 0xFE8<strong>00</strong>0/0xFE8FFF and 0xFF8<strong>00</strong>0/0xFFFFFF<br />

collectively.<br />

-cs 0xFE<strong>00</strong><strong>00</strong>/0xFE8FFF,SUM32=2,0xAA -cs 0xFF8<strong>00</strong>0/0xFFFFFF,SUM32=2,0xAA<br />

Checksum operation in area 0xFE<strong>00</strong><strong>00</strong>/0xFE8FFF and checksum operation on area 0xFF8<strong>00</strong>0/<br />

0xFFFFFF are performed separately.<br />

In -cs option, checksum operation types and the value for filling the sections without object codes can<br />

be set up.<br />

[Example 1]<br />

flnk911s -cs 0xFE8<strong>00</strong>0/0xFF7FFF,SUM32,0x7F<br />

Checksum operation is performed on area 0xFE8<strong>00</strong>0/0xFF7FFF with 32bit simple addition.<br />

Sections in checksum operation target area without object data are filled with 0x7F.<br />

Settings for checksum<br />

operation area<br />

Object data after section<br />

arrangement<br />

Object data<br />

0xFE8<strong>00</strong>0<br />

Checksum<br />

operation<br />

area<br />

Object data<br />

Checksum operation is performed<br />

by filling the sections without<br />

object data with 0x7F.<br />

Object data<br />

0xFF7FFF<br />

0xFFFFFF<br />

PART II LINKER 115

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

Saved successfully!

Ooh no, something went wrong!