Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc/dist/gcc match armv[467]*--netbsdelf*



details:   https://anonhg.NetBSD.org/src/rev/400f2a85daed
branches:  trunk
changeset: 789030:400f2a85daed
user:      matt <matt%NetBSD.org@localhost>
date:      Sun Aug 04 22:18:16 2013 +0000

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

diffstat:

 external/gpl3/gcc/dist/gcc/config.gcc |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 1877efb69798 -r 400f2a85daed external/gpl3/gcc/dist/gcc/config.gcc
--- a/external/gpl3/gcc/dist/gcc/config.gcc     Sun Aug 04 17:35:10 2013 +0000
+++ b/external/gpl3/gcc/dist/gcc/config.gcc     Sun Aug 04 22:18:16 2013 +0000
@@ -728,7 +728,7 @@
 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 @@
            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"



Home | Main Index | Thread Index | Old Index