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]

Re: [PATCH] Reduce size footprint of empty strings.


On Thu, 2010-02-25 at 09:33 -0700, Jeff Law wrote:
> I guess this officially ends the practice of allowing one to edit (via 
> adb or emacs) the binary's data section to provide a different 
> initializer for these objects.  It was something I used to do with 
> regularity "way back when".    I'm not objecting, just pointing out that 
> something that used to work isn't going to anymore.

You only need one non-null byte in the object and the whole thing will
still go in the data segment.  This change only applies to strings that
are entirely zero-initialized.

R.


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