[net.bugs.4bsd] 4.1bsd strip

ado@elsie.UUCP (04/25/84)

The 4.1bsd strip(1) manual page reads (in part):
	The effect of strip is the same as use of the -s option of ld.
Well. . .I set up a file named "thot.c" with just this line:
	main() { }
I then typed in this line:
	cc -s thot.c; ls -l a.out
and got this output:
	-rwxrwxr-x 1 ado        3420 Apr 25 05:51 a.out
Then I typed in this line:
	cc thot.c; strip a.out; ls -l a.out
and got this output:
	-rwxrwxr-x 1 ado        4096 Apr 25 05:54 a.out
So the effect is different.

As it turns out, the second "a.out" file a zero-padded version of the first,
where the padding brings the size of the file up to an even multiple of the
disk sector size.

Both "a.out"s eat up the same number of sectors of disk.  Does anybody out there
know if one or the other takes more time to load when it is executed?
-- 
UUCP:	decvax!harpo!seismo!rlgvax!cvl!elsie!ado
DDD:	(301) 496-5688