To align data on a specific word-boundary, use the ALIGN and ALIGNALL commands to bump the location counter to the preferred boundary. For example, the following fragment uses ALIGN to bump the location counter to the next 16-byte boundary. An example is given in the following listing.
file.c (.text) . = ALIGN (0x10); file.c (.data) # aligned on a word boundary.
You can also align data on a specific word-boundary with ALIGNALL, as shown in the following listing.
file.c (.text) ALIGNALL (0x10); #everything past this point aligned on word boundary file.c (.data)