https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109286
--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jeff Law <l...@gcc.gnu.org>: https://gcc.gnu.org/g:2e6dc9e19cdac43354608a1fc29fe31ec614775c commit r16-2135-g2e6dc9e19cdac43354608a1fc29fe31ec614775c Author: Jan Dubiec <j...@o2.pl> Date: Wed Jul 9 06:09:20 2025 -0600 [PATCH] [PR target/109286] H8/300: Fix warnings about initfini sections missing attributes The patch changes order of inclusions, i.e. elfos.h is included before target specific h8300/h8300.h, in a way similar to a few other targets. Thanks to this change it is possible to override macros from elfos.h in h8300/h8300.h, in particular .init/.fini section definitions. PR target/109286 gcc/ChangeLog: * config.gcc: Include elfos.h before h8300/h8300.h. * config/h8300/h8300.h (INIT_SECTION_ASM_OP): Override default version from elfos.h. (FINI_SECTION_ASM_OP): Ditto. (ASM_DECLARE_FUNCTION_NAME): Ditto. (ASM_GENERATE_INTERNAL_LABEL): Macro removed because it was being overridden in elfos.h anyway. (ASM_OUTPUT_SKIP): Ditto.