https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92183
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note categorize_decl_for_section already does the correct thing for decls that have relocations needed for the initialization too :).