Module Name:    src
Committed By:   mrg
Date:           Tue Jun 21 07:28:44 UTC 2011

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

Log Message:
pull across these revisions from gcc 4.1:

revision 1.21
date: 2011/01/23 06:29:52;  author: matt;  state: Exp;  lines: +1 -1
Default mips64 to softfloat.

revision 1.22
date: 2011/02/10 07:18:29;  author: matt;  state: Exp;  lines: +3 -0
Default NetBSD to -msecure-plt now.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 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.2 src/external/gpl3/gcc/dist/gcc/config.gcc:1.3
--- src/external/gpl3/gcc/dist/gcc/config.gcc:1.2	Tue Jun 21 02:41:36 2011
+++ src/external/gpl3/gcc/dist/gcc/config.gcc	Tue Jun 21 07:28:44 2011
@@ -1749,7 +1749,7 @@
 	esac
 	;;
 mips64*-*-netbsd*)			# NetBSD/mips64, either endian.
-	target_cpu_default="MASK_ABICALLS|MASK_64BIT|MASK_FLOAT64"
+	target_cpu_default="MASK_ABICALLS|MASK_64BIT|MASK_FLOAT64|MASK_SOFT_FLOAT"
 	tm_file="elfos.h ${tm_file} mips/elf.h netbsd.h netbsd-elf.h mips/netbsd.h mips/netbsd64.h"
 	tmake_file="${tmake_file} mips/t-netbsd64"
 #	tm_defines="${tm_defines} MIPS_ISA_DEFAULT=64"
@@ -1986,6 +1986,9 @@
 	tmake_file="${tmake_file} rs6000/t-netbsd"
 	    ;;
 	esac
+	if test x${enable_secureplt} != xno; then
+	  tm_file="rs6000/secureplt.h ${tm_file}"
+	fi
 	extra_options="${extra_options} rs6000/sysv4.opt rs6000/linux64.opt"
 	;;
 powerpc-*-eabispe*)

Reply via email to