Middleware, development tools, realtime operating system
software and services for superior embedded design


Home
QNX Community Resources
Developer Support
QNX Documentation Library
QNX Developer Support

QNX Developer Support

QNX Software Systems
Developer Resources
Blogs
Board support packages
Foundry27 projects
Forums
Hardware support listing
Online video tutorials
Product documentation
Technical Articles

[Previous] [Contents] [Index] [Next]

ldrel

Relocate an executable

Syntax:

ldrel [options] infile outfile

Options:

-a hex_align
Change segment alignments (default to original alignment).
-b hex_addr
Program base address (default to page aligned base address).
-d hex_addr
Data segment address (default to just after text segment).
-f name
Filename holding debug information (default to infile).
-L
The specified stacksize can be lazy.
-l
("el") Output LOAD segments only.
-o hex_off
Assume this file will be copied to another file at this offset.
-p
Pad segments so they don't share address file data.
-r
Keep relocation information in target.
-S stacksize [K|M]
Note the minimum stacksize in bytes, kilobytes (suffix K), or megabytes (suffix M) as a suggestion to the loader. A stacksize of 0 removes the note.
-s pattern=filename
-s [!]*
-s pattern[*]
Copy sections matching pattern, from the file (if given). The section must not overlay segments.
-t hex_addr
Text segment address (default to just after headers).
-v
Be verbose.
-x
Expand segments with zeros to make the file size equal to memory size.
-Z
Load the whole input file into memory.

Description:

The ldrel utility relocates executables.


[Previous] [Contents] [Index] [Next]