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 Even though the world is mov...



details:   https://anonhg.NetBSD.org/src/rev/8a7cf633a335
branches:  trunk
changeset: 790270:8a7cf633a335
user:      skrll <skrll%NetBSD.org@localhost>
date:      Mon Sep 30 16:16:31 2013 +0000

description:
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@

diffstat:

 external/gpl3/binutils/dist/gas/config/te-armnbsd.h |  22 +++++++++++++++++++++
 external/gpl3/binutils/dist/gas/configure.tgt       |   4 +-
 2 files changed, 24 insertions(+), 2 deletions(-)

diffs (40 lines):

diff -r 65b5bc0cad48 -r 8a7cf633a335 external/gpl3/binutils/dist/gas/config/te-armnbsd.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/binutils/dist/gas/config/te-armnbsd.h       Mon Sep 30 16:16:31 2013 +0000
@@ -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
diff -r 65b5bc0cad48 -r 8a7cf633a335 external/gpl3/binutils/dist/gas/configure.tgt
--- a/external/gpl3/binutils/dist/gas/configure.tgt     Mon Sep 30 15:24:14 2013 +0000
+++ b/external/gpl3/binutils/dist/gas/configure.tgt     Mon Sep 30 16:16:31 2013 +0000
@@ -126,8 +126,8 @@
   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*)



Home | Main Index | Thread Index | Old Index