This is the mail archive of the gcc@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: gcc puts .data and .bss symbols in .text segment.


Henrik Stokseth wrote:
is there a way to turn it off on the commandline? i couldn't find anything in the manual...

No. There is no reason why an ordinary user would need this feature.


There is the -fwritable-strings option that puts strings in data instead of rodata, but you will still get other stuff in rodata.

Jim


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