[fpc-pascal] alignment

Пётр Косаревский ppkk at mail.ru
Wed Apr 19 12:13:52 CEST 2006


Win32, i386.

In FPC 2.0.3 -Oa option is described as "<type>=<values>".
This is hard to understand. What should -Oa=16 mean?
Probably, it could be better decribed.

(If I get it right, the "type" means code or data, and values are not alignment values for individual types. Even if so, I didn't understand what does it mean.)

There are assembler directives ".balign 16" for some types in .data or .bss sections (with -Oa=16). Code is aligned with ".balign 4" where it's useful.



More information about the fpc-pascal mailing list