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