This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Extremely large string table size with egcs-2.91.57


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]