summaryrefslogtreecommitdiff
path: root/gcc/config/rx/t-linux
diff options
context:
space:
mode:
authorYoshinori Sato <ysato@users.sourceforge.jp>2019-05-30 03:36:06 +0900
committerJeff Law <law@gcc.gnu.org>2019-05-29 12:36:06 -0600
commit76aaa9cdb1cc5cecc7dd87594aaaff6f67c362d2 (patch)
treeed4e9376e6c3970db45e69375c11da1e3ffe49e6 /gcc/config/rx/t-linux
parent01a58e36980830b8a3dfa426f912fce51f7104c4 (diff)
downloadgcc-76aaa9cdb1cc5cecc7dd87594aaaff6f67c362d2.tar.gz
config.gcc (rx-*-linux*): New target.
* config.gcc (rx-*-linux*): New target. * config/rx/elf.opt: New file. * config/rx/linux.h: Likewise. * config/rx/t-linux: Likewise. * config/rx/rx.c (TARGET_SAVE_ACC_REGISTER): If not defined, make it zero. * config/rx/rx.h (ASM_APP_ON): Allow to be overridden. (ASM_APP_OFF): Likewise. * config/rx/rx.opt: Drop -msim and -mas100-syntax, they were moved elsewhere. * config.host (rx-*-linux*): Add new case. * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode. From-SVN: r271748
Diffstat (limited to 'gcc/config/rx/t-linux')
-rw-r--r--gcc/config/rx/t-linux34
1 files changed, 34 insertions, 0 deletions
diff --git a/gcc/config/rx/t-linux b/gcc/config/rx/t-linux
new file mode 100644
index 00000000000..0975b2690dc
--- /dev/null
+++ b/gcc/config/rx/t-linux
@@ -0,0 +1,34 @@
+# Makefile fragment for building GCC for the rx-linux.
+# Copyright (C) 2019 Yoshinori Sato
+# Based on t-rx
+#
+# 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/>.
+
+# Enable multilibs:
+
+MULTILIB_OPTIONS =
+MULTILIB_DIRNAMES =
+
+MULTILIB_MATCHES = nofpu=mnofpu nofpu=mcpu?rx200 nofpu=mcpu?RX200
+
+MULTILIB_EXCEPTIONS =
+MULTILIB_EXTRA_OPTS =
+
+LIBGCC = stmp-multilib
+INSTALL_LIBGCC = install-multilib
+
+EXTRA_MULTILIB_PARTS = crtbegin.o crtend.o