On 07/08/2011 10:35 AM, Jakub Jelinek wrote: > That will match only on ELF and perhaps a few other targets, but I'm certain > many targets put read-only data elsewhere. I'd just guard this > with a few most common target triplets that are known to use .rodata > section. Done, thanks. I've also removed the unneeded check for COMPLETE_TYPE_P. Tested x86_64-pc-linux-gnu, applying to trunk.