Subject: bin/6133: size(1) is less useful than it used to be since binutils.
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mrg@eterna.com.au>
List: netbsd-bugs
Date: 09/10/1998 04:57:32
>Number:         6133
>Category:       bin
>Synopsis:       size(1) is less useful than it used to be since binutils.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep  9 22:20:01 1998
>Last-Modified:
>Originator:     matthew green
>Organization:
people's front against (bozotic) www (softwar foundation)
>Release:        <NetBSD-current source date>
>Environment:
	
System: NetBSD splode.eterna.com.au 1.3F NetBSD 1.3F (_splode_) #380: Mon Jun 29 00:08:52 EST 1998 mrg@splode.eterna.com.au:/orb/v/src/sys/arch/sparc/compile/_splode_ sparc


>Description:
	

	since size was converted to the binutils version, the -t and -w
	switches are no longer supported.  while i didn't use -w, i do
	use -t from time to time.  there appears to be no way of having
	either -w or -t work with the new binutils without adding the
	support for these options.

>How-To-Repeat:

	wonder the total size of different sectinos of a library, run
	`size -t libxxx.a' and then yell loudly when it says:
		size: illegal option -- t

>Fix:
	
	support the -t (totals) and -w (warn about non-object archive
	memebrs) in size(1).
>Audit-Trail:
>Unformatted: