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 Cleanup arm--netbsdelf-*eabi*



details:   https://anonhg.NetBSD.org/src/rev/076c83cb84bd
branches:  trunk
changeset: 784528:076c83cb84bd
user:      matt <matt%NetBSD.org@localhost>
date:      Thu Jan 31 06:53:21 2013 +0000

description:
Cleanup arm--netbsdelf-*eabi*

diffstat:

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

diffs (29 lines):

diff -r 5a853f25b0a3 -r 076c83cb84bd external/gpl3/gcc/dist/gcc/config.gcc
--- a/external/gpl3/gcc/dist/gcc/config.gcc     Thu Jan 31 06:52:16 2013 +0000
+++ b/external/gpl3/gcc/dist/gcc/config.gcc     Thu Jan 31 06:53:21 2013 +0000
@@ -724,11 +724,11 @@
 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_ENDIAN_DEFAULT=MASK_BIG_END" ;;
+       armeb*) tm_defines="${tm_defines} TARGET_BIG_ENDIAN_DEFAULT=1" ;;
        esac
        tmake_file="${tmake_file} arm/t-arm"
        case ${target} in
-       arm*-*-netbsdelf-*eabi)
+       arm*-*-netbsdelf-*eabi*)
            tm_file="$tm_file arm/bpabi.h arm/netbsd-elf.h arm/netbsd-eabi.h"
            tmake_file="$tmake_file arm/t-arm-elf arm/t-bpabi"
            tmake_file="$tmake_file arm/t-netbsd-eabi"
@@ -744,6 +744,11 @@
            tmake_file="$tmake_file arm/t-netbsd"
            ;;
        esac
+       case ${target} in
+       arm*-*-netbsdelf-*eabihf*)
+           tm_defines="${tm_defines} TARGET_DEFAULT_FLOAT_ABI=ARM_FLOAT_ABI_HARD"
+           ;;
+       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