![]() | |||||||||||||
Messages in this thread |
> Is it possible to change locally the default section
> for string constants so that the strings can be freed too?
You can change the section for individual variables, like
const char foo[] __attribute__((section(".foo")))="Hallo\n";
I don't think you can change the section for a string literal
appearing somewhere. I also don't think you can change the default
section for string literals in a compilation unit, except for
-fwritable-strings.
Regards,
Martin
| ||||||||||||
| Last update: 2005-03-22 12:41 [W:0.226 / U:0.020 seconds] ©2003-2008 Jasper Spaans | |||||||||||||