On Fri, 11 May 2001, Ewald Wasscher wrote:
> >>strip --strip-unneeded -R.note -R.comment
>
> "strip -R" is equivalent to "strip --remove-section", so some extra
> information is removed from the binary. I have to admit that I don't
> really know what information these sections contain.
Me neither, but there are visible results:
wolfstar@ulrik:~ > ls -la libc.so.6*
-rwxr-xr-x 1 wolfstar users 1382179 May 11 21:25 libc.so.6
-rwxr-xr-x 1 wolfstar users 1167916 May 11 21:27 libc.so.6-plain
-rwxr-xr-x 1 wolfstar users 1108748 May 11 21:27 libc.so.6-extra
That's the glibc that comes with SuSE 7.1 - I think glibc 2.2, but I'm not
sure off the top of my head. (Probably is, 2.1 was 4 megs unstripped.)
libc.so.6-plain was libc.so.6 just stripped as normal, while -extra was
done with the funky stuff above. 60k is appreciable. Compressed:
-rwxr-xr-x 1 wolfstar users 523935 May 11 21:25 libc.so.6.gz
-rwxr-xr-x 1 wolfstar users 451864 May 11 21:27 libc.so.6-plain.gz
-rwxr-xr-x 1 wolfstar users 451418 May 11 21:27 libc.so.6-extra.gz
450 bytes ain't much, but it's SOMETHING. (All compressed with gzip -9.)
Worth investigating IMO.
--
George Metz
Commercial Routing Engineer
[EMAIL PROTECTED]
"We know what deterrence was with 'mutually assured destruction' during
the Cold War. But what is deterrence in information warfare?" -- Brigadier
General Douglas Richardson, USAF, Commander - Space Warfare Center
_______________________________________________
Leaf-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/leaf-devel