https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108761
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I think an option would be the wrong appoarch because many of the times, you are marking a variable inside a section exactly because you want it to be part of an "array". I think rather section should have a secondary argument which mark as needing to append the function name on it ...