Making 2.9's libc.a smaller
eric j. haug
ejh at slu70.UUCP
Thu Feb 7 10:43:40 AEST 1985
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.
More information about the Comp.bugs.2bsd
mailing list