]> gcc.gnu.org Git - gcc.git/commitdiff
Fix unrecognised -mcpu target 'armv7-a' on arm-wrs-vxworks7
authorIain Buclaw <ibuclaw@gdcproject.org>
Sun, 31 May 2020 22:18:44 +0000 (00:18 +0200)
committerGiuliano Belinassi <giuliano.belinassi@usp.br>
Mon, 17 Aug 2020 16:09:35 +0000 (13:09 -0300)
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.

gcc/config.gcc

index f544932fc3963bfd9e527ff808b1708cb035f54f..06ad813ad39761ee752d03ab797162b345ff01f2 100644 (file)
@@ -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
This page took 0.060351 seconds and 5 git commands to generate.