You copied the Doc URL to your clipboard.
You can produce an ELF file that can be loaded directly to a target with each execution region starting at a page boundary.
The linker provides the following built-in functions to help create load and execution regions on page boundaries:
AlignExpr
GetPageSize
.
Note
Alignment on an execution region causes both the load address and execution address to be aligned.
The following example produces an ELF file with each execution region starting on a new page:
The default page size 0x8000
, is used.
You can change the page size with the --pagesize
command-line
option.
- Concepts
- Reference