This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project.


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

Re: -ffunction-sections -fdata-sections vs. string-inst



> --- /dev/fd/3	Fri Jan  7 13:49:20 2000
> +++ /dev/fd/4	Fri Jan  7 13:49:20 2000
> -63208	4504	345986	21_strings/append.cc
> +216500	9477	1586636	21_strings/append.cc
> -59032	4088	321122	21_strings/find.cc
> +214852	9061	1564683	21_strings/find.cc

Yeah. I noticed this growth too.

Fortunately, it can be solved by moving the getline and 
instertion/extration operators for string from string-inst.cc to 
misc-inst.cc

Then there is size parity for both approaches.

I am getting some cores in static binaries, and I'm still in the middle 
of trying to see what's going on. I'll post a better patch tonight.

-benjamin


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