[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home |
Legal |
Search ]
Commands Reference, Volume 3, i - m
ldedit Command
Purpose
Modifies an XCOFF executable file header.
Syntax
ldedit -b Option [ -V ] File
Description
You can use the ldedit command to modify various
fields in an XCOFF header or the auxiliary header of
an executable file. The ldedit command makes it possible
to mark or unmark an application as a 'large page data' program. The ldedit command also makes it possible to add or modify the values of
MAXDATA and MAXSTACK without relinking.
The format of the -b flag is similar to the format
used by the link editor, the ld command. The -b flag can be used multiple times on the command line.
If no flags are specified, the ldedit command dipslays
a usage message using the standard error output.
Flags
|
-b Option |
Modifies an executable as specified by Option. The possible values for Option are:
- lpdata
- Marks a file as a 'large page data' executable.
- nolpdata
- Unmarks a file as a 'large page data' executable.
- maxdata:value
- Sets the MAXDATA value. value is an octal number
when it starts with 0, a hexadecimal number when it starts with 0x, and a decimal number in all other cases.
- maxdata:value/dsa
- Sets the MAXDATA value and the DSA bit. value is
an octal number when it starts with 0, a hexadecimal number when
it starts with 0x, and a decimal number in all other cases.
- maxstack:value
- Sets the MAXSTACK value. value is an octal number
when it starts with 0, a hexadecimal number when it starts with 0x, and a decimal number in all other cases.
|
|
-V |
Prints the version of the ldedit command
on the standard error output. |
Related Information
The ld command, dump command.
[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home |
Legal |
Search ]