]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
2012-10-31 Ralf Corsépius <ralf.corsepius@rtems.org>,
authorcorsepiu <corsepiu@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 31 Oct 2012 05:03:28 +0000 (05:03 +0000)
committercorsepiu <corsepiu@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 31 Oct 2012 05:03:28 +0000 (05:03 +0000)
    Joel Sherrill  <joel.sherrill@oarcorp.com>

* config/sparc/t-rtems: New (Custom multilibs).
* config/sparc/t-rtems-64: New (Custom multilibs).
* config.gcc (sparc64-*-rtems*): Add sparc/t-rtems-64.
(sparc-*-rtems*): Add sparc/t-rtems.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193018 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config.gcc
gcc/config/sparc/t-rtems [new file with mode: 0644]
gcc/config/sparc/t-rtems-64 [new file with mode: 0644]

index 78cc546c517c3817079a94495880d15c9e79cb11..6d86172827e138d90030469d3128192c4bd528c9 100644 (file)
@@ -1,3 +1,11 @@
+2012-10-31  Ralf Corsépius  <ralf.corsepius@rtems.org>,
+           Joel Sherrill  <joel.sherrill@oarcorp.com>
+
+       * config/sparc/t-rtems: New (Custom multilibs).
+       * config/sparc/t-rtems-64: New (Custom multilibs).
+       * config.gcc (sparc64-*-rtems*): Add sparc/t-rtems-64.
+       (sparc-*-rtems*): Add sparc/t-rtems.
+
 2012-10-31  Alan Modra  <amodra@gmail.com>
 
        * config/rs6000/rs6000.c (legitimize_reload_address): Remove code
index 52e6426be86a2c8ca2fcd5488249a82cff435a5f..00372290579bc3f814871d2af48a579062ca8072 100644 (file)
@@ -2401,7 +2401,7 @@ sparc-*-elf*)
        ;;
 sparc-*-rtems*)
        tm_file="${tm_file} dbxelf.h elfos.h sparc/sysv4.h sparc/sp-elf.h sparc/rtemself.h rtems.h newlib-stdint.h"
-       tmake_file="sparc/t-sparc sparc/t-elf t-rtems"
+       tmake_file="sparc/t-sparc sparc/t-elf sparc/t-rtems t-rtems"
        ;;
 sparc-*-linux*)
        tm_file="${tm_file} dbxelf.h elfos.h sparc/sysv4.h gnu-user.h linux.h glibc-stdint.h sparc/tso.h"
@@ -2454,7 +2454,7 @@ sparc64-*-elf*)
 sparc64-*-rtems*)
        tm_file="${tm_file} dbxelf.h elfos.h newlib-stdint.h sparc/sysv4.h sparc/sp64-elf.h sparc/rtemself.h rtems.h"
        extra_options="${extra_options}"
-       tmake_file="${tmake_file} sparc/t-sparc t-rtems"
+       tmake_file="${tmake_file} sparc/t-sparc sparc/t-rtems-64 t-rtems"
        ;;
 sparc64-*-linux*)
        tm_file="sparc/biarch64.h ${tm_file} dbxelf.h elfos.h sparc/sysv4.h gnu-user.h linux.h glibc-stdint.h sparc/default-64.h sparc/linux64.h sparc/tso.h"
diff --git a/gcc/config/sparc/t-rtems b/gcc/config/sparc/t-rtems
new file mode 100644 (file)
index 0000000..4a01e1e
--- /dev/null
@@ -0,0 +1,22 @@
+# Copyright (C) 2012 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 = msoft-float mcpu=v8
+MULTILIB_DIRNAMES = soft v8
+MULTILIB_MATCHES = msoft-float=mno-fpu
diff --git a/gcc/config/sparc/t-rtems-64 b/gcc/config/sparc/t-rtems-64
new file mode 100644 (file)
index 0000000..d6a6e3e
--- /dev/null
@@ -0,0 +1,22 @@
+# Copyright (C) 2012 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 = msoft-float
+MULTILIB_DIRNAMES = soft
+MULTILIB_MATCHES = msoft-float=mno-fpu