[net.bugs.2bsd] Making 2.9's libc.a smaller

ejh@slu70.UUCP (eric j. haug) (02/07/85)

Subject: libc.a is about 40K larger than it needs to be
Index:	<src/lib/c>/<compall  et.al. > 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.