Messages in this thread | | | Date | Fri, 2 Jan 1998 10:00:45 +0100 | From | Martin Mares <> | Subject | Re: __init and string constants |
| |
Hi,
> 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?
Unfortunately, with current GCC it's impossible. I was working on a patch for EGCS adding this feature, but I didn't have enough time to finish it yet.
Have a nice fortnight -- Martin `MJ' Mares <mj@gts.cz> http://atrey.karlin.mff.cuni.cz/~mj/ Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth "First law of socio-genetics: Celibacy is not hereditary."
| |