diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-01-15 20:12:17 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-01-15 20:12:17 +0000 |
commit | dc5d1e9ca5893cdd383679807c36195015f482a9 (patch) | |
tree | 4b147fae6f522825a1debebcd43a49a48bf86d88 /usr.bin/size/size.1 | |
parent | a9bb6781205f1c7c7b36b259aa5c45420a013adf (diff) |
from netbsd; Add capability to read archives (from Thomas Eberhardt; PR#497)
Diffstat (limited to 'usr.bin/size/size.1')
-rw-r--r-- | usr.bin/size/size.1 | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/usr.bin/size/size.1 b/usr.bin/size/size.1 index 3e70fe5f2e7..cad9d12a5fa 100644 --- a/usr.bin/size/size.1 +++ b/usr.bin/size/size.1 @@ -1,4 +1,4 @@ -.\" $NetBSD: size.1,v 1.5 1994/12/21 08:07:20 jtc Exp $ +.\" $NetBSD: size.1,v 1.6 1996/01/14 23:07:11 pk Exp $ .\" .\" Copyright (c) 1990, 1993, 1994 .\" The Regents of the University of California. All rights reserved. @@ -41,19 +41,31 @@ .Nd display object file segment sizes (text, data and bss) .Sh SYNOPSIS .Nm size -.Op Ar object_file ... +.Op Fl w +.Ar .Sh DESCRIPTION .Nm Size displays the text, data and bss segment sizes of the specified -.Ar object_file +.Ar file(s) in bytes (in decimal), and the sum of the three segments (in decimal and hexadecimal). +If a library (archive) is given, +.Nm +displays the segment sizes for each object archive member. If no -.Ar object_file +.Ar file is specified .Nm attempts to report on the file .Pa a.out . +.Bl -tag -width flag +.It Fl w +Warn about non-object archive members. +Normally, +.Nm +will silently ignore all archive members which are not +object files. +.El .Sh SEE ALSO .Xr a.out 5 .Sh HISTORY |