This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Problem with the strings
- From: "kanishk rastogi" <kanishk dot 85 at gmail dot com>
- To: binutils at sources dot redhat dot com
- Date: Thu, 23 Nov 2006 20:30:52 -0800
- Subject: Problem with the strings
hi all,
when we compile our c programs the strings which we use get defined in
read only memory.
how can i ask the gcc compiler to declare them in read-write section
where other data stays.
or in other words
how can i ask the compiler to perform the same operation as performed
by it when we use --fno-const-strings while compiling c++ prog
thanks