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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

6.2 Details of Linker Options<br />

6.2.6 Specifying Padding Data (-p)<br />

This option is an option filled up with the value which specified the crevice between the<br />

objects generated in boundary adjustment etc.<br />

This option is effective only when creating a absolute format load module.<br />

It is invalid when creating a relative format load module.<br />

■ Specifying Padding Data (-p)<br />

[Format]<br />

-p < Value > ( Default:0 )<br />

[Parameter]<br />

<br />

One-byte data<br />

[Description]<br />

The value of the byte that fills the crevice between the objects which generated the absolute format load<br />

module file by section arrangement at the time of creation is directed.<br />

The value of 0 to 255 can be specified.<br />

In case section arrangement is performed by linker, several bytes of crevice where object data does not<br />

exist as shown in Figure 6.2-3 may occur according to conditions, such as boundary adjustment of a<br />

section.<br />

Figure 6.2-3 Example which the Crevice Generated by Boundary Adjustment of Section locate.<br />

0x1<strong>00</strong>0<br />

0x1<strong>00</strong>1<br />

0x1<strong>00</strong>2<br />

0x1<strong>00</strong>3<br />

0x1<strong>00</strong>4<br />

.<br />

.<br />

.<br />

0xA0<br />

0xB1<br />

0xA0<br />

.<br />

.<br />

.<br />

Section A<br />

2 bytes of crevice generated by<br />

boundary adjustment of Section B<br />

Section B<br />

The section specified that it<br />

arranges on a 4-byte boundary.<br />

This option is used when the crevice generated by section arrangement is filled up with a specific data<br />

value.<br />

Linker fills the crevice where object data does not exist by 0, when this option is not specified.<br />

[Example]<br />

flnk911s a1 a2 a3 -p 255... A crevice is filled up with 255.<br />

flnk911s a1 a2 a3 -p 0xff... A crevice is filled up with 255.<br />

flnk911s a1 a2 a3 -p 0xaa... A crevice is filled up with 170.<br />

PART II LINKER 101

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

Saved successfully!

Ooh no, something went wrong!