Module Name: src
Committed By: skrll
Date: Mon Sep 30 16:16:31 UTC 2013
Modified Files:
src/external/gpl3/binutils/dist/gas: configure.tgt
Added Files:
src/external/gpl3/binutils/dist/gas/config: te-armnbsd.h
Log Message:
Even though the world is moving to earm provide a CPU_DEFAULT for arm
targets.
This stops the "Warning: swp{b} use is obsoleted for ARMv8 and later"
messages and probably others.
Discussed with matt@
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/gpl3/binutils/dist/gas/configure.tgt
cvs rdiff -u -r0 -r1.1 \
src/external/gpl3/binutils/dist/gas/config/te-armnbsd.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.5 src/external/gpl3/binutils/dist/gas/configure.tgt:1.6
--- src/external/gpl3/binutils/dist/gas/configure.tgt:1.5 Sun Sep 29 14:03:30 2013
+++ src/external/gpl3/binutils/dist/gas/configure.tgt Mon Sep 30 16:16:31 2013
@@ -126,8 +126,8 @@ case ${generic_target} in
arm-*-uclinux*eabi*) fmt=elf em=armlinuxeabi ;;
arm-*-uclinux*) fmt=elf em=linux ;;
arm-*-nacl*) fmt=elf em=nacl ;;
- arm-*-netbsdelf*) fmt=elf em=nbsd ;;
- arm-*-*n*bsd*) fmt=aout em=nbsd ;;
+ arm-*-netbsdelf*) fmt=elf em=armnbsd ;;
+ arm-*-*n*bsd*) fmt=aout em=armnbsd ;;
arm-*-nto*) fmt=elf ;;
arm-epoc-pe) fmt=coff em=epoc-pe ;;
arm-wince-pe | arm-*-wince | arm*-*-mingw32ce* | arm*-*-cegcc*)
Added files:
Index: src/external/gpl3/binutils/dist/gas/config/te-armnbsd.h
diff -u /dev/null src/external/gpl3/binutils/dist/gas/config/te-armnbsd.h:1.1
--- /dev/null Mon Sep 30 16:16:31 2013
+++ src/external/gpl3/binutils/dist/gas/config/te-armnbsd.h Mon Sep 30 16:16:31 2013
@@ -0,0 +1,22 @@
+/* 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-nbsd.h"
+
+#define CPU_DEFAULT ARM_ARCH_V3