https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92183
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- It should be easy to fix this in default_elf_select_rtx_section. before calling mergeable_constant_section check reloc and return rodata if reloc is true. Let me see if that fixes this.