This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

[v3] Re: put __stl_prime_list in comdat section


thanks. The attached is the revised patch.

David

On Sat, Nov 5, 2011 at 11:52 AM, Paolo Carlini <paolo.carlini@oracle.com> wrote:
> On 11/05/2011 07:32 PM, Xinliang David Li wrote:
>>
>> Hi, the following patch is a follow up to the one posted here
>> http://gcc.gnu.org/ml/gcc-patches/2009-05/msg01293.html.
>>
>> The new patch is a header only change and can greatly reduce rodata
>> section size for some programs.
>>
>> Ok for trunk after testing?
>
> As usual for backward/ stuff, I would say largely Ian's call, but please
> don't use get_prime_list unuglified, prefer __get_prime_list, or something
> with _S_* as prefix, being a static member.
>
> Thanks,
> Paolo.
>
> PS: also, make sure to post library patches to libstdc++ too, and, possibly,
> add [v3] to the Subject, otherwise you can easily fail to get the attention
> of the library people.
>

Attachment: stl_prime.p
Description: Binary data


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