LINK /ALIGN

This option sets the section alignment for the executable.

Syntax

/align:number

It is a fatal error (LNK1147) if the required argument is not a number. Characters up to and including an equals sign in number are ignored without complaint.

If number is not a power of two, it is ignored, with a warning (LNK4043). The text for the warning reads as if LINK reverts to a default. This is not strictly true. The invalid number is just ignored. If an earlier /align set a valid section alignment, then the earlier setting persists.