[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home |
Legal |
Search ]
Commands Reference, Volume 3
ldedit Command
Purpose
Modifies an XCOFF executable file header.
Syntax
ldedit -b Option [ -V ] File
Description
Use the ldedit command to modify various fields in
an XCOFF header or the auxiliaryheader of the executable
file. The tool makes it possible to mark or unmark an application as a 'large
page data' program or add/modify values of MAXDATA and MAXSTACK without relinking.
The format of the command is similar to the format of the link editor, ld command. ldedit operates on one
file at a time.
Flags
-b Options |
Modifies an executable as specified by Option. The possible values for Option are:
- lpdata
- Marks a file as 'large page data' executable.
- nolpdata
- Unmarks a file as 'large page data' executable.
- lptext
- Marks a file as 'large page text' executable.
- nolptext
- Unmarks a file as 'large page text' 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.
Note
If no Options are specified ldedit outputs a usage message to the standard error output. |
-V |
Prints the version of the ldedit command
on the standard error output. |
Related Information
The ld command, and dump command.
[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home |
Legal |
Search ]