Module Name:    src
Committed By:   matt
Date:           Sun Aug  4 22:18:16 UTC 2013

Modified Files:
        src/external/gpl3/gcc/dist/gcc: config.gcc

Log Message:
match armv[467]*--netbsdelf*
and default cpu appropriately.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/external/gpl3/gcc/dist/gcc/config.gcc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/dist/gcc/config.gcc
diff -u src/external/gpl3/gcc/dist/gcc/config.gcc:1.18 src/external/gpl3/gcc/dist/gcc/config.gcc:1.19
--- src/external/gpl3/gcc/dist/gcc/config.gcc:1.18	Fri Jul 19 16:23:10 2013
+++ src/external/gpl3/gcc/dist/gcc/config.gcc	Sun Aug  4 22:18:16 2013
@@ -728,7 +728,7 @@ arm*-*-freebsd*)
 arm*-*-netbsdelf*)
 	tm_file="dbxelf.h elfos.h netbsd.h netbsd-elf.h arm/elf.h arm/aout.h arm/arm.h"
 	case ${target} in
-	armeb*) tm_defines="${tm_defines} TARGET_BIG_ENDIAN_DEFAULT=1" ;;
+	arm*eb-*) tm_defines="${tm_defines} TARGET_BIG_ENDIAN_DEFAULT=1" ;;
 	esac
 	tmake_file="${tmake_file} arm/t-arm"
 	case ${target} in
@@ -754,6 +754,11 @@ arm*-*-netbsdelf*)
 	    tm_defines="${tm_defines} TARGET_DEFAULT_FLOAT_ABI=ARM_FLOAT_ABI_HARD"
 	    ;;
 	esac
+	case ${target} in
+	armv4*) with_cpu=${with_cpu:-strongarm};;
+	armv6*) with_cpu=${with_cpu:-arm1176jzf-s};;
+	armv7*) with_cpu=${with_cpu:-cortex-a8};;
+	esac
 	;;
 arm*-*-netbsd*)
 	tm_file="arm/aout.h arm/arm.h netbsd.h netbsd-aout.h arm/netbsd.h"

Reply via email to