Module Name: src
Committed By: matt
Date: Mon Feb 4 18:42:31 UTC 2013
Modified Files:
src/external/gpl3/binutils/dist/gas: configure.tgt
Added Files:
src/external/gpl3/binutils/dist/gas/config: te-armnetbsdeabi.h
Log Message:
Add a match for arm*--netbsdelf-eabi* and default that EABI with a VFP FPU
and ARCH_ARM_V5TEJ cpu.
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.2 \
src/external/gpl3/binutils/dist/gas/configure.tgt
cvs rdiff -u -r0 -r1.1 \
src/external/gpl3/binutils/dist/gas/config/te-armnetbsdeabi.h
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/binutils/dist/gas/configure.tgt
diff -u src/external/gpl3/binutils/dist/gas/configure.tgt:1.1.1.2 src/external/gpl3/binutils/dist/gas/configure.tgt:1.2
--- src/external/gpl3/binutils/dist/gas/configure.tgt:1.1.1.2 Sat Sep 24 22:23:35 2011
+++ src/external/gpl3/binutils/dist/gas/configure.tgt Mon Feb 4 18:42:30 2013
@@ -118,6 +118,7 @@ case ${generic_target} in
arm-*-linux-*) fmt=elf em=linux ;;
arm-*-uclinux*eabi*) fmt=elf em=armlinuxeabi ;;
arm-*-uclinux*) fmt=elf em=linux ;;
+ arm-*-netbsdelf-*eabi*) fmt=elf em=armnetbsdeabi ;;
arm-*-netbsdelf*) fmt=elf em=nbsd ;;
arm-*-*n*bsd*) fmt=aout em=nbsd ;;
arm-*-nto*) fmt=elf ;;
Added files:
Index: src/external/gpl3/binutils/dist/gas/config/te-armnetbsdeabi.h
diff -u /dev/null src/external/gpl3/binutils/dist/gas/config/te-armnetbsdeabi.h:1.1
--- /dev/null Mon Feb 4 18:42:31 2013
+++ src/external/gpl3/binutils/dist/gas/config/te-armnetbsdeabi.h Mon Feb 4 18:42:31 2013
@@ -0,0 +1,25 @@
+/* Copyright 2004, 2005, 2007, 2009 Free Software Foundation, Inc.
+
+ This file is part of GAS, the GNU Assembler.
+
+ GAS is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 3,
+ or (at your option) any later version.
+
+ GAS is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
+ the GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with GAS; see the file COPYING. If not, write to the Free
+ Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
+ 02110-1301, USA. */
+
+#include "te-netbsd.h"
+
+/* The EABI requires the use of VFP. */
+#define CPU_DEFAULT ARM_ARCH_V5TEJ
+#define FPU_DEFAULT FPU_ARCH_VFP
+#define EABI_DEFAULT EF_ARM_EABI_VER5