Module Name: src
Committed By: matt
Date: Thu Jan 31 06:53:21 UTC 2013
Modified Files:
src/external/gpl3/gcc/dist/gcc: config.gcc
Log Message:
Cleanup arm--netbsdelf-*eabi*
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 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.14 src/external/gpl3/gcc/dist/gcc/config.gcc:1.15
--- src/external/gpl3/gcc/dist/gcc/config.gcc:1.14 Thu Dec 20 07:12:26 2012
+++ src/external/gpl3/gcc/dist/gcc/config.gcc Thu Jan 31 06:53:21 2013
@@ -724,11 +724,11 @@ 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_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 @@ arm*-*-netbsdelf*)
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"