This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Extremely large string table size with egcs-2.91.57
- To: alleng_nospam at kesmai dot com
- Subject: Re: Extremely large string table size with egcs-2.91.57
- From: Martin von Loewis <martin at mira dot isdn dot cs dot tu-berlin dot de>
- Date: Fri, 6 Nov 1998 22:30:40 +0100
- CC: egcs at cygnus dot com
- References: <36420FEF.EF7821C9@kesmai.com>
> Upon examination with 'strings -' I noticed that it seems to blowing
> up with templates. Is this correct? I was under the impression that
> the string table contained string constants only.
I'm not an expert on the HPUX object file format. However, with
strings -, you get all strings, including those of the symbol tables.
Symbol tables do blow up with templates. Pure string tables (data
section?) do as well, to a smaller degree, due to the typeid().name()
results required for RTTI.
> Also, is egcs deleting duplicate template instantiantions across
> object files at link time?
Depends on the linker. The GNU linker does, if the object file format
supports it; I know neither whether the HPUX object file format has
link-once support in some sense, nor whether the GNU linker is used on
that platform.
Regards,
Martin