__init and string constants

Alexander V. Lukyanov (lav@long.yar.ru)
Fri, 2 Jan 1998 02:50:21 +0300


I noticed that init functions use many string constants. The code of
those functions goes to special section and can be freed after
initialization. But the strings go to the default .rodata and thus
cannot be freed. Is it possible to change locally the default section
for string constants so that the strings can be freed too?
Or am I mistaken?

Alexander.