public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Martin Liska <marxin@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r12-6520] Include elfos.h before ${tm_file}.
Date: Wed, 12 Jan 2022 11:53:35 +0000 (GMT)	[thread overview]
Message-ID: <20220112115335.09859393A42F@sourceware.org> (raw)

https://gcc.gnu.org/g:f4ce10fb4d57d427cb8bed33b36b9cf56a1dd17c

commit r12-6520-gf4ce10fb4d57d427cb8bed33b36b9cf56a1dd17c
Author: Martin Liska <mliska@suse.cz>
Date:   Wed Jan 12 11:09:20 2022 +0100

    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}.

Diff:
---
 gcc/config.gcc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config.gcc b/gcc/config.gcc
index 89e0992fda5..f1b8d832c6f 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*)


                 reply	other threads:[~2022-01-12 11:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220112115335.09859393A42F@sourceware.org \
    --to=marxin@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).