[patch][arm][FreeBSD] gcc-7 branch: add support for armv7*-*-freebsd*

Andreas Tobler andreast-list@fgznet.ch
Tue Oct 10 18:52:00 GMT 2017


On 08.10.17 22:58, Andreas Tobler wrote:
> Hi all,
> 
> here is the patch witch adds support for armv7*-*-freebsd* on the gcc-7
> branch.
> 
> The difference towards trunk is the target_cpu_cname.
> 
> I'll commit this one if no objections pop up.

Committed in 253603

Andreas

> 2017-10-08  Andreas Tobler  <andreast@gcc.gnu.org>
> 
> 	* config.gcc: (armv7*-*-freebsd*): New target.
> 	(armv6*-*-freebsd*): Remove obsolete TARGET_FREEBSD_ARMv6 define.
> 
> 
> Index: config.gcc
> ===================================================================
> --- config.gcc	(revision 253528)
> +++ config.gcc	(working copy)
> @@ -1077,11 +1077,14 @@
>    	case $target in
>    	armv6*-*-freebsd*)
>    	    target_cpu_cname="arm1176jzfs"
> -	    tm_defines="${tm_defines} TARGET_FREEBSD_ARMv6=1"
>                if test $fbsd_major -ge 11; then
>                   tm_defines="${tm_defines} TARGET_FREEBSD_ARM_HARD_FLOAT=1"
>                fi
>    	    ;;
> +	armv7*-*-freebsd*)
> +	    target_cpu_cname="genericv7a"
> +	    tm_defines="${tm_defines} TARGET_FREEBSD_ARM_HARD_FLOAT=1"
> +	    ;;
>    	*)
>    	    target_cpu_cname="arm9"
>    	    ;;
> 



More information about the Gcc-patches mailing list