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:


The targets maximum page size.


The targets 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.