aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2022-01-12 11:09:20 +0100
committerMartin Liska <mliska@suse.cz>2022-01-12 12:53:22 +0100
commitf4ce10fb4d57d427cb8bed33b36b9cf56a1dd17c (patch)
treee445bddd87bd5b51a5deed51cdb7b4b6dc0f362f /gcc/config.gcc
parent4960516df2f90e6ae16aa03c63c8bf2c702e6bc4 (diff)
downloadgcc-f4ce10fb4d57d427cb8bed33b36b9cf56a1dd17c.zip
gcc-f4ce10fb4d57d427cb8bed33b36b9cf56a1dd17c.tar.gz
gcc-f4ce10fb4d57d427cb8bed33b36b9cf56a1dd17c.tar.bz2
Include elfos.h before ${tm_file}.
Fixes: In file included from ./tm.h:23, from gcc/genconfig.c:25: gcc/config/elfos.h:209: warning: "READONLY_DATA_SECTION_ASM_OP" redefined 209 | #define READONLY_DATA_SECTION_ASM_OP "\t.section\t.rodata" | In file included from ./tm.h:21, from gcc/genconfig.c:25: gcc/config/epiphany/epiphany.h:671: note: this is the location of the previous definition 671 | #define READONLY_DATA_SECTION_ASM_OP "\t.section .rodata" gcc/ChangeLog: * config.gcc: Include elfos.h before ${tm_file}.
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r--gcc/config.gcc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 89e0992..f1b8d83 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -1620,7 +1620,7 @@ csky-*-*)
esac
;;
epiphany-*-elf | epiphany-*-rtems*)
- tm_file="${tm_file} dbxelf.h elfos.h"
+ tm_file="dbxelf.h elfos.h ${tm_file}"
tmake_file="${tmake_file} epiphany/t-epiphany"
case ${target} in
epiphany-*-rtems*)