From 6dcf1995c1d56ea782e3b0c88224058df21846e0 Mon Sep 17 00:00:00 2001 From: ceriel Date: Wed, 4 Feb 1987 13:10:17 +0000 Subject: [PATCH] Initial revision --- util/amisc/anm.1 | 74 +++++++++++++++++++++++++++++++++++++++++++++ util/amisc/asize.1 | 17 +++++++++++ util/amisc/astrip.1 | 17 +++++++++++ 3 files changed, 108 insertions(+) create mode 100644 util/amisc/anm.1 create mode 100644 util/amisc/asize.1 create mode 100644 util/amisc/astrip.1 diff --git a/util/amisc/anm.1 b/util/amisc/anm.1 new file mode 100644 index 000000000..e18927959 --- /dev/null +++ b/util/amisc/anm.1 @@ -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) diff --git a/util/amisc/asize.1 b/util/amisc/asize.1 new file mode 100644 index 000000000..96d8fd919 --- /dev/null +++ b/util/amisc/asize.1 @@ -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) diff --git a/util/amisc/astrip.1 b/util/amisc/astrip.1 new file mode 100644 index 000000000..d7fd6adec --- /dev/null +++ b/util/amisc/astrip.1 @@ -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) -- 2.34.1