public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/autopar_devel] Fix unrecognised -mcpu target 'armv7-a' on arm-wrs-vxworks7
@ 2020-08-22 21:48 Giuliano Belinassi
  0 siblings, 0 replies; only message in thread
From: Giuliano Belinassi @ 2020-08-22 21:48 UTC (permalink / raw)
  To: gcc-cvs

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-08-22 21:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-22 21:48 [gcc/devel/autopar_devel] Fix unrecognised -mcpu target 'armv7-a' on arm-wrs-vxworks7 Giuliano Belinassi

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