This option fills in data at the end of a section.
This option fills in data at the end of a section so that the section size is a multiple of the alignment of the section. |
In the following case, 2 bytes of padding data are filled in the P section, and linking is performed with a size of 0x08. |
Alignment of the P section: 4 bytes
Size of the P section: 0x06 bytes
Alignment of the C section: 1 byte
Size of the C section: 0x03 bytes
In the following case, if 2 bytes of padding data are filled in the P section, and linking is performed with a size of 0x08, then an error will be output because it overlaps with the C section. |
Alignment of the P section: 4 bytes
Size of the P section: 0x06 bytes
Alignment of the C section: 1 byte
Size of the C section: 0x03 bytes
Since padding is not performed to an absolute address section, the size of an absolute address section should be adjusted by the user. |