From owner-freebsd-arch Tue May 9 17:10:36 2000 Delivered-To: freebsd-arch@freebsd.org Received: from overcee.netplex.com.au (peter1.yahoo.com [208.48.107.4]) by hub.freebsd.org (Postfix) with ESMTP id BB26437BF04; Tue, 9 May 2000 17:10:27 -0700 (PDT) (envelope-from peter@netplex.com.au) Received: from netplex.com.au (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id 29A8C1CE5; Tue, 9 May 2000 17:10:26 -0700 (PDT) (envelope-from peter@netplex.com.au) X-Mailer: exmh version 2.1.1 10/15/1999 To: John Baldwin Cc: arch@FreeBSD.org, "David O'Brien" Subject: Re: .s -> .S filename change in /sys In-Reply-To: Message from John Baldwin of "Tue, 09 May 2000 19:19:50 EDT." <200005092319.TAA05485@server.baldwin.cx> Date: Tue, 09 May 2000 17:10:26 -0700 From: Peter Wemm Message-Id: <20000510001026.29A8C1CE5@overcee.netplex.com.au> Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG John Baldwin wrote: > > On 09-May-00 Peter Wemm wrote: > > John Baldwin wrote: > >> > >> On 09-May-00 David O'Brien wrote: > >> > I would like to rename the extension of all the .s files in /sys that ne ed > >> > pre-processing to .S. There are two reasons for this. > >> > >> Sounds good to me. > > > > BTW; this is the file counts of .s vs .S look like: > > > > ashburton[3:44pm]~src-104# find . -name '*.[sS]' > /tmp/s > > ashburton[3:45pm]~src-105# egrep '\.s$' /tmp/s | wc -l > > 96 > > ashburton[3:45pm]~src-106# egrep '\.S$' /tmp/s | wc -l > > 208 > > > > Repo copying all these .s files to .S will add about 1.7MB to the repo. > > Not all need to be copied. Nothing in /sys/boot/i386 uses the C pre-processo r, > for example, but point taken. If you note the list above, I was looking in all of src. 62 of those files are in src/sys, the other ~30 are in src/contrib and src/crypto which (by definition) do not move. Sorry about that. The actual src/sys *.s files are 1.4MB in total. Leaving out sys/boot as well leaves 1.2MB. (40 *.s in the kernel proper). There are 19 *.S files in src/sys. If you leave out sys/boot as well, you are left with 6 *.S files in src/sys. (versus 40) So, it's 1.2MB, not 1.7MB like I stated above. And I still prefer to have it all one way or the other BTW. I'd prefer that we were specific about cpp or not - this means copying the CPP'ed files to *.S and to hell with disk space. One day we will reclaim the old stuff from the Attic's if it every becomes necessary or worthwhile. Cheers, -Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message