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]

Re: Java Patch: Merge UTF-8 contants at link time


>>>>> "Anthony" == Anthony Green <green@redhat.com> writes:

Anthony> libgcj.so is almost 300k smaller on IA-32 Linux with this patch.

Wow, that's a lot.

Anthony> +    int flags = SECTION_OVERRIDE 
Anthony> +      | SECTION_MERGE | (SECTION_ENTSIZE & (name_len + 5));

A nit: according to GNU coding standards this should read:

    int flags = (SECTION_OVERRIDE 
                 | SECTION_MERGE | (SECTION_ENTSIZE & (name_len + 5)));

Tom


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