This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Are string literals _always_ allocated in the RO section?
- From: Denis Zaitsev <zzz at anda dot ru>
- To: gcc at gcc dot gnu dot org, linux-gcc at vger dot kernel dot org
- Date: Sun, 16 Jan 2005 02:41:26 +0500
- Subject: Re: Are string literals _always_ allocated in the RO section?
- References: <20050116022247.A3066@natasha.ward.six>
On Sun, Jan 16, 2005 at 02:22:48AM +0500, Denis Zaitsev wrote:
> the string "y" is put in the .text section.
Oh, it's put into the .rodata section. A'm sorry.