@@ -1,3 +1,8 @@
+2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * config.gcc: Add support for arc*-mellanox-* nps400 targets.
+ * config/arc/t-nps400: New file.
+
2016-02-02 Andrew Burgess <andrew.burgess@embecosm.com>
* common.opt (ffat-lto-objects): Make this flag default on.
@@ -1015,6 +1015,11 @@ arc*-*-elf*)
case ${with_endian} in
big*) tm_defines="DRIVER_ENDIAN_SELF_SPECS=\\\"%{!EL:%{!mlittle-endian:-mbig-endian}}\\\" ${tm_defines}"
esac
+ case ${target} in
+ arc*-mellanox-*)
+ tm_defines="${tm_defines} ARC_NPS400=1"
+ tmake_file="${tmake_file} arc/t-nps400";;
+ esac
;;
arc*-*-linux-uclibc*)
extra_headers="arc-simd.h"
@@ -1040,6 +1045,11 @@ arc*-*-linux-uclibc*)
case ${with_endian} in
big*) tm_defines="DRIVER_ENDIAN_SELF_SPECS=\\\"%{!EL:%{!mlittle-endian:-mbig-endian}}\\\" ${tm_defines}"
esac
+ case ${target} in
+ arc*-mellanox-*)
+ tm_defines="${tm_defines} ARC_NPS400=1"
+ tmake_file="${tmake_file} arc/t-nps400";;
+ esac
;;
arm-wrs-vxworks)
tm_file="elfos.h arm/elf.h arm/aout.h ${tm_file} vx-common.h vxworks.h arm/vxworks.h"
new file mode 100644
@@ -0,0 +1,21 @@
+# GCC Makefile fragment for Mellanox NPS400 variant of Synopsys
+# DesignWare ARC
+
+# Copyright (C) 2016 Free Software Foundation, Inc.
+
+# This file is part of GCC.
+
+# GCC 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.
+
+# GCC 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 GCC; see the file COPYING3. If not see
+# <http://www.gnu.org/licenses/>.
+
+MULTILIB_OPTIONS=