public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Giuliano Belinassi <giulianob@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc/devel/autopar_devel] Fix unrecognised -mcpu target 'armv7-a' on arm-wrs-vxworks7
Date: Sat, 22 Aug 2020 21:48:42 +0000 (GMT)	[thread overview]
Message-ID: <20200822214842.CE3B7388E828@sourceware.org> (raw)

https://gcc.gnu.org/g:34fe68d4f39bfe12ebd0db425c5158433f47a562

commit 34fe68d4f39bfe12ebd0db425c5158433f47a562
Author: Iain Buclaw <ibuclaw@gdcproject.org>
Date:   Mon Jun 1 00:18:44 2020 +0200

    Fix unrecognised -mcpu target 'armv7-a' on arm-wrs-vxworks7
    
    In the removal of arm-wrs-vxworks, the default cpu was updated from arm8
    to armv7-a, but this is not recognized as a valid -mcpu target.  There
    is however generic-armv7-a, which was likely the intended cpu that
    should have been used instead.
    
    gcc/ChangeLog:
    
            PR target/95420
            * config.gcc (arm-wrs-vxworks7*): Set default cpu to generic-armv7-a.

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

diff --git a/gcc/config.gcc b/gcc/config.gcc
index f544932fc39..06ad813ad39 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -1193,7 +1193,7 @@ arm-wrs-vxworks7*)
 	tmake_file="${tmake_file} arm/t-arm arm/t-vxworks arm/t-bpabi"
 	tm_file="elfos.h arm/elf.h arm/bpabi.h arm/aout.h ${tm_file}"
 	tm_file="${tm_file} vx-common.h vxworks.h arm/vxworks.h"
-	target_cpu_cname="armv7-a"
+	target_cpu_cname="generic-armv7-a"
 	need_64bit_hwint=yes
 	;;
 arm*-*-freebsd*)                # ARM FreeBSD EABI


                 reply	other threads:[~2020-08-22 21:48 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=20200822214842.CE3B7388E828@sourceware.org \
    --to=giulianob@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).