Everything

-padding


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

[Format]

-padding

[Description]

-

Fills in padding data at the end of a section so that the section size is a multiple of the boundary alignment of the section.

-

The file name is <output file>.jmp.

[Examples]

-start=P,C/0 -padding

-

When the boundary alignment of section P is 4 bytes, the size of section P is 0x06 bytes, the boundary alignment of section C is 1 byte, and the size of section C is 0x03 bytes, two bytes of padding data is filled in section P to make its size become 0x08 bytes and then linkage is performed.

-start=P/0,C/7 -padding

-

When the boundary alignment of section P is 4 bytes, the size of section P is 0x06 bytes, the boundary alignment of section C is 1 byte, and the size of section C is 0x03 bytes, if two bytes of padding data is filled in section P to make its size become 0x08 bytes and then linkage is performed, error L2321 will be output because section P overlaps with section C.

[Remarks]

-

The value of the created padding data is 0x00.

-

Since padding is not performed to an absolute address section, the size of an absolute address section should be adjusted by the user.