Re: bloat and debugging code

Zack Weinberg (zack@bitmover.com)
Sat, 24 Jul 1999 11:07:53 -0700


> > ld doesn't uniquify strings, so each occurence of CHECK_MAGIC() or
> > BUG() is another duplicate.
>
> Which one of my upcoming changes to ld will fix sometime soon.

Glad to hear - now I don't have to do it. :)

Did you consider uniquifying the .comment section, too? That can get
big -

$ size -A /lib/libc.so.6
/lib/libc.so.6 :
[...]
.comment 56511

On a boot floppy, that's 55k that could be used for a few more drivers
instead of ~900 copies of "GCC: (GNU) egcs-2.91.66 ..."

zw

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/