nld Manual
nld Options
nld Manual—528272-001
3-12
-rename
-rename
Changes the name of an externally visible procedure or data item.
old-name
is the name of the procedure or data item to rename.
new-name
is the new name to give the procedure or data item.
Existing references to the current name become unresolved references; therefore,
another procedure or data item named old-name can be linked, and existing code
will use this version instead of the original (now renamed) version. For example,
procedure A calls procedure B. The operation -rename B C renames procedure B to
procedure C. Procedure A now has an unresolved reference. A new version of
procedure B can be linked in. The new version of procedure B can call the original
procedure by calling procedure C.
Use this option to replace procedures, such as PROCESS_LAUNCH_, with your own
version of PROCESS_LAUNCH_.
-s
Removes symbol information used for linking and symbolic debugging from the
loadfile.
A file stripped of all symbol information cannot be symbolically debugged with the
Inspect symbolic debugger or linked again by nld.
You can use -s only when creating a loadfile. If you specify both -r on page 3-11 and
-s, -s is ignored. To strip all symbol information from an existing loadfile, use -strip on
page 3-16. To strip the symbol information used for symbolic debugging, use -x on
page 3-17.
-rename old-name new-name
-s