http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52999

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-04-23 
16:16:54 UTC ---
The PA specific thing there is that PA puts rtx constant pool into .data.rel.ro
section, something that doesn't happen on i?86/x86_64/ppc/ppc64 etc. to my
knowledge.  Which is why there is no section->named.decl (thus the diagnostics
ICE), as well as that in the absence of user variables without section
attribute that should go into .data.rel.ro (like const int *foo = &bar; where
bar isn't hidden) the compiler puts anything into .data.rel.ro section.  rtld.c
carefully doesn't have such variables, and uses .data.rel.ro section attribute
on variables that are writable and written before relocation processing, but
never after.

Reply via email to