diff options
author | Jan Dubiec <jdx@o2.pl> | 2025-07-09 06:09:20 -0600 |
---|---|---|
committer | Jeff Law <jlaw@ventanamicro.com> | 2025-07-09 06:11:06 -0600 |
commit | 2e6dc9e19cdac43354608a1fc29fe31ec614775c (patch) | |
tree | 6eabdd609333ece8a441e95439860c3d26350b66 /gcc/fortran/misc.cc | |
parent | f33cc3af8fd9c498bd02623168054d76a0989ed6 (diff) | |
download | gcc-trunk.zip gcc-trunk.tar.gz gcc-trunk.tar.bz2 |
[PATCH] [PR target/109286] H8/300: Fix warnings about initfini sections missing attributesHEADtrunkmaster
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.
Diffstat (limited to 'gcc/fortran/misc.cc')
0 files changed, 0 insertions, 0 deletions