noft Manual (G06.26+)
Table Of Contents
- What’s New in This Manual
- About This Manual
- 1 Introduction
- 2 noft Utility
- 3 noft Options
- Break Key
- ! (Exclamation Point)
- CD
- COMMENT
- DUMPADDRESS or DA
- DUMPOFFSET or DO
- DUMPPROC or DP
- DYNSTR2
- ENV
- EXIT or E
- FC
- FILE or F
- HELP or ?
- HISTORY or H
- LAYOUT
- LIBLIST
- LISTATTRIBUTE or LA
- LISTCOMPILERS or LC
- LISTOPTIMIZE or LO
- LISTPROC or LP
- LISTSOURCE or LS
- LISTSRLEXPORTS or LLE
- LISTSRLFIXUPS or LLF
- LISTSRLINFO or LLI
- LISTUNREFERENCED or LUR
- LISTUNRESOLVED or LU
- LOG
- OBEY
- OUT
- QUIT or Q
- RESET
- SET
- SHOW
- SYSTEM or VOLUME
- XREFPROC or XP
- 4 noft Diagnostic Messages
- 5 ar Utility
- 6 ar Diagnostic Messages
- A Sample nld and noft Session
- B Converting From Binder to noft
- C Native Object File Structure
- Glossary
- Index

noft Options
noft Manual—528273-001
3-35
LISTUNREFERENCED or LUR
The C program in Example 3-29 is equivalent to the pTAL program in Example 3-27 on
page 3-34.
If the program in Example 3-29 is compiled and made executable and the program file
is designated to noft with the option FILE or F on page 3-16, Example 3-30 shows the
result of the LISTUNREFERENCED option—the NMC compiler eliminates unreferenced
prototypes. Compare Example 3-30 to Example 3-34 on page 38, which shows the
result of the LISTUNRESOLVED option.
Example 3-29. C Program for Example 3-30 and Example 3-34
extern short unresolved (short);
extern short unreferenced (short);
short unused(short arg)
{
return (short)(arg + 2);
}
long main()
{
short i, j;
i = 5;
j = unresolved(i);
return 0;
}
Example 3-30. LISTREFERENCED Option for Example 3-29 C Program
noft> listunreferenced *
*** DATA ERROR *** [1055]:
Did not find any unreferenced symbols matching scope.