Mon Sep 30 16:16:31 2013 UTC ()
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@


(skrll)
diff -r1.5 -r1.6 src/external/gpl3/binutils/dist/gas/configure.tgt
diff -r0 -r1.1 src/external/gpl3/binutils/dist/gas/config/te-armnbsd.h

cvs diff -r1.5 -r1.6 src/external/gpl3/binutils/dist/gas/configure.tgt (expand / switch to unified diff)

--- src/external/gpl3/binutils/dist/gas/configure.tgt 2013/09/29 14:03:30 1.5
+++ src/external/gpl3/binutils/dist/gas/configure.tgt 2013/09/30 16:16:31 1.6
@@ -116,28 +116,28 @@ case ${generic_target} in @@ -116,28 +116,28 @@ case ${generic_target} in
116 arm-*-elf | thumb-*-elf) fmt=elf ;; 116 arm-*-elf | thumb-*-elf) fmt=elf ;;
117 arm-*-netbsdelf*-*eabihf*) fmt=elf em=armnbsdeabihf ;; 117 arm-*-netbsdelf*-*eabihf*) fmt=elf em=armnbsdeabihf ;;
118 arm-*-netbsdelf*-*eabi*) fmt=elf em=armnbsdeabi ;; 118 arm-*-netbsdelf*-*eabi*) fmt=elf em=armnbsdeabi ;;
119 arm-*-eabi*) fmt=elf em=armeabi ;; 119 arm-*-eabi*) fmt=elf em=armeabi ;;
120 arm-*-symbianelf*) fmt=elf em=symbian ;; 120 arm-*-symbianelf*) fmt=elf em=symbian ;;
121 arm-*-kaos*) fmt=elf ;; 121 arm-*-kaos*) fmt=elf ;;
122 arm-*-conix*) fmt=elf ;; 122 arm-*-conix*) fmt=elf ;;
123 arm-*-linux*aout*) fmt=aout em=linux ;; 123 arm-*-linux*aout*) fmt=aout em=linux ;;
124 arm-*-linux-*eabi*) fmt=elf em=armlinuxeabi ;; 124 arm-*-linux-*eabi*) fmt=elf em=armlinuxeabi ;;
125 arm-*-linux-*) fmt=elf em=linux ;; 125 arm-*-linux-*) fmt=elf em=linux ;;
126 arm-*-uclinux*eabi*) fmt=elf em=armlinuxeabi ;; 126 arm-*-uclinux*eabi*) fmt=elf em=armlinuxeabi ;;
127 arm-*-uclinux*) fmt=elf em=linux ;; 127 arm-*-uclinux*) fmt=elf em=linux ;;
128 arm-*-nacl*) fmt=elf em=nacl ;; 128 arm-*-nacl*) fmt=elf em=nacl ;;
129 arm-*-netbsdelf*) fmt=elf em=nbsd ;; 129 arm-*-netbsdelf*) fmt=elf em=armnbsd ;;
130 arm-*-*n*bsd*) fmt=aout em=nbsd ;; 130 arm-*-*n*bsd*) fmt=aout em=armnbsd ;;
131 arm-*-nto*) fmt=elf ;; 131 arm-*-nto*) fmt=elf ;;
132 arm-epoc-pe) fmt=coff em=epoc-pe ;; 132 arm-epoc-pe) fmt=coff em=epoc-pe ;;
133 arm-wince-pe | arm-*-wince | arm*-*-mingw32ce* | arm*-*-cegcc*) 133 arm-wince-pe | arm-*-wince | arm*-*-mingw32ce* | arm*-*-cegcc*)
134 fmt=coff em=wince-pe ;; 134 fmt=coff em=wince-pe ;;
135 arm-*-pe) fmt=coff em=pe ;; 135 arm-*-pe) fmt=coff em=pe ;;
136 arm-*-riscix*) fmt=aout em=riscix ;; 136 arm-*-riscix*) fmt=aout em=riscix ;;
137 137
138 avr-*-*) fmt=elf bfd_gas=yes ;; 138 avr-*-*) fmt=elf bfd_gas=yes ;;
139 139
140 bfin-*-linux-uclibc) fmt=fdpicelf em=linux ;; 140 bfin-*-linux-uclibc) fmt=fdpicelf em=linux ;;
141 bfin-*-uclinux*) fmt=elf em=linux ;; 141 bfin-*-uclinux*) fmt=elf em=linux ;;
142 bfin-*-rtems*) fmt=elf ;; 142 bfin-*-rtems*) fmt=elf ;;
143 bfin-*elf) fmt=elf ;; 143 bfin-*elf) fmt=elf ;;

File Added: src/external/gpl3/binutils/dist/gas/config/te-armnbsd.h
/* 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