Initial revision

This commit is contained in:
ceriel 1987-02-04 13:10:17 +00:00
parent b5d0c2797b
commit 6dcf1995c1
3 changed files with 108 additions and 0 deletions

74
util/amisc/anm.1 Normal file
View file

@ -0,0 +1,74 @@
.TH ANM 1ACK
.SH NAME
anm \- print name list
.SH SYNOPSIS
.B anm
[
.B \-gnoprus
]
[ file ... ]
.SH DESCRIPTION
.I Anm
prints the name list (symbol table) of each ack.out(5) format object
.I file
in the argument list.
If no
.I file
is given, the symbols in
`a.out'
are listed.
.PP
Each symbol name is preceded by its value, a section indicator
and a type indicator.
A section indicator can be
.SM
.B U
(undefined symbol),
.SM
.B A
(absolute symbol), a section number (section related symbol),
or
.SM
.B -
(other symbol).
A type indicator can be
.SM
.B F
(filename),
.SM
.B M
(module name),
.SM
.B E
(external (global) symbol),
or
.SM
.B -
(local symbol).
The output is sorted alphabetically.
.PP
Options are:
.TP
.B \-g
Print only external (global) symbols.
.TP
.B \-n
Sort numerically rather than alphabetically.
.TP
.B \-o
Prepend file name to each output line rather than only once.
.TP
.B \-p
Don't sort; print in symbol-table order.
.TP
.B \-r
Sort in reverse order.
.TP
.B \-u
Print only undefined symbols.
.TP
.B \-s
Sort in section order.
.sh FILES
.SH SEE ALSO
ack.out(5)

17
util/amisc/asize.1 Normal file
View file

@ -0,0 +1,17 @@
.TH ASIZE 1ACK
.SH NAME
asize \- size of an object file
.SH SYNOPSIS
.B asize
[ file ... ]
.SH DESCRIPTION
.I Asize
prints the (decimal) number of bytes
required by the different sections,
and their sum in decimal and hexadecimal,
of each ack.out(5) format object file argument.
If no file is specified,
`a.out'
is used.
.SH "SEE ALSO"
ack.out(5)

17
util/amisc/astrip.1 Normal file
View file

@ -0,0 +1,17 @@
.TH ASTRIP 1ACK
.SH NAME
astrip \- remove symbols and relocation information
.SH SYNOPSIS
.B astrip
file ...
.SH DESCRIPTION
.I Astrip
removes the symbol
table and relocation information ordinarily attached to the
ack.out(5) format object files.
This is useful to save space after a program has been
debugged.
.SH FILES
/tmp/s? temporary file
.SH "SEE ALSO"
ack.out(5)