Source-Changes-HG archive

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

[src/trunk]: src/external/gpl3/binutils/dist/gas Add a match for arm*--netbsd...



details:   https://anonhg.NetBSD.org/src/rev/ba687f01cf39
branches:  trunk
changeset: 784638:ba687f01cf39
user:      matt <matt%NetBSD.org@localhost>
date:      Mon Feb 04 18:42:30 2013 +0000

description:
Add a match for arm*--netbsdelf-eabi* and default that EABI with a VFP FPU
and ARCH_ARM_V5TEJ cpu.

diffstat:

 external/gpl3/binutils/dist/gas/config/te-armnetbsdeabi.h |  25 +++++++++++++++
 external/gpl3/binutils/dist/gas/configure.tgt             |   1 +
 2 files changed, 26 insertions(+), 0 deletions(-)

diffs (40 lines):

diff -r a1af71292170 -r ba687f01cf39 external/gpl3/binutils/dist/gas/config/te-armnetbsdeabi.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/binutils/dist/gas/config/te-armnetbsdeabi.h Mon Feb 04 18:42:30 2013 +0000
@@ -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
diff -r a1af71292170 -r ba687f01cf39 external/gpl3/binutils/dist/gas/configure.tgt
--- a/external/gpl3/binutils/dist/gas/configure.tgt     Mon Feb 04 18:41:18 2013 +0000
+++ b/external/gpl3/binutils/dist/gas/configure.tgt     Mon Feb 04 18:42:30 2013 +0000
@@ -118,6 +118,7 @@
   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 ;;



Home | Main Index | Thread Index | Old Index