GetPageSize() function

Returns the page size. This is useful when used with AlignExpr

Returns the value of the internal page size that armlink uses in its alignment calculations. By default this value is set to 0x8000, but you can change it with the --pagesize command-line option.


This example aligns the base address of ER to a Page Boundary:

ER AlignExpr(+0, GetPageSize())

Show/hideSee also

Copyright © 2008, 2011-2012 ARM. All rights reserved.ARM DUI 0458C