Next: , Previous: , Up: Expressions   [Contents][Index]


3.10.2 Symbolic Constants

It is possible to refer to target specific constants via the use of the CONSTANT(name) operator, where name is one of:

MAXPAGESIZE

The target’s maximum page size.

COMMONPAGESIZE

The target’s default page size.

So for example:

  .text ALIGN (CONSTANT (MAXPAGESIZE)) : { *(.text) }

will create a text section aligned to the largest page boundary supported by the target.