nld and noft Manual

Sample nld and noft Session
nld and noft Manual520384-003
A-10
LISTCOMPILERS
LISTCOMPILERS
Example A-14 uses the LISTCOMPILERS option with the DETAIL parameter to list the
compiler components used for each source file containing executable code statements.
Header files and other files containing data declarations, DEFINE definitions, and
function prototypes are not included.
LISTPROC
Example A-15 on page A-11 uses the LISTPROC option to find the names of
procedures (functions) in the object file. The DETAIL parameter provides the following
information:
Example A-14. LISTCOMPILERS Option (Linkfile)
noft> LISTCOMPILERS DETAIL
Linker : (not available)
Filename : \DLLQA.$D0117.CRGMAN.MAINC
File Number : 0
C Compiler Front End : T9577D46_T9225D46_30APR2003_CFE_24JAN2
Back End Optimizer : Optimizer Not Used
Back End Code Generator : T8304D45_09SEP2002_11OCT2002_GDN
Back End Assembler : T8304D45_09SEP2002_11OCT2002_GDN
Label Description (page1of2)
Number Function number. In options, it is often easier to use the function
number than the function name, especially for C++ function names
that are stored in mangled form.
Name Function name. If the function name was a C++ mangled name, an
entry showing the demangled name is also shown (as in
Example 5-18
on page 5-28).
Address Function address. In Example A-15
on page A-11 the program is not
executable, so the first function address starts at zero, 0x00000000.
(Some compilers make the starting address of the first function
0x70000000.) The actual starting address is set by nld when the
object file is made executable.
Size Function size.
Resident Whether the function was marked “resident” at compilation time,
meaning that it is intended to stay permanently in physical memory
and not be swapped in and out at run time. (Resident is a system
level programmer function attribute.)
Privileged Whether the function was marked “privileged” at compilation time.
Procedures are marked “privileged” at compilation time as part of
the mechanism used by HP for writing operating system code. It is
not expected that the typical user will do this. The syntax for
specifying a privileged procedure depends on the language; it is
beyond the scope of this manual to explain the syntax of specific
languages. (Privileged is a system level programmer function
attribute.)