Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site slu70.UUCP
Path: utzoo!watmath!clyde!cbosgd!ihnp4!mgnetp!we53!busch!wucs!slu70!ejh
From: ejh@slu70.UUCP (eric j. haug)
Newsgroups: net.bugs.2bsd
Subject: Making 2.9's libc.a smaller
Message-ID: <111@slu70.UUCP>
Date: Wed, 6-Feb-85 19:43:40 EST
Article-I.D.: slu70.111
Posted: Wed Feb  6 19:43:40 1985
Date-Received: Sat, 9-Feb-85 05:51:13 EST
Distribution: net
Organization: Saint Louis Univ.,St. L.,MO.
Lines: 18

Subject: libc.a is about 40K larger than it needs to be
Index:	/ 2.9bsd

Description:
	The assembler leaves all the definitions in /usr/include/sys.s
	in all the system call object modules. 
Repeat-By:
	Use the archiver to look at the size of access.o, note that it
	is around 1036 bytes.
Fix:
	Try the following command and note that access.o is around 148 bytes.

	as -o t.o /usr/include/sys.s sys/access.s
	ld -r -x t.o -o access.o

	Add lines to compall, ovcompall, fcompall, fovcompall to correct
	the problem.  This should be done for any "as" line that includes
	the sys.s file.