aboutsummaryrefslogtreecommitdiff
path: root/libgcc
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 /libgcc
parent01a58e36980830b8a3dfa426f912fce51f7104c4 (diff)
downloadgcc-76aaa9cdb1cc5cecc7dd87594aaaff6f67c362d2.zip
gcc-76aaa9cdb1cc5cecc7dd87594aaaff6f67c362d2.tar.gz
gcc-76aaa9cdb1cc5cecc7dd87594aaaff6f67c362d2.tar.bz2
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 'libgcc')
-rw-r--r--libgcc/ChangeLog5
-rw-r--r--libgcc/config.host3
-rw-r--r--libgcc/config/rx/t-rx1
3 files changed, 9 insertions, 0 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index c86decf..082fabc 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,3 +1,8 @@
+2019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
+
+ * config.host (rx-*-linux*): Add new case.
+ * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
+
2019-05-29 Sam Tebbs <sam.tebbs@arm.com>
* config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
diff --git a/libgcc/config.host b/libgcc/config.host
index 91fed5f..ff2f0fa 100644
--- a/libgcc/config.host
+++ b/libgcc/config.host
@@ -1211,6 +1211,9 @@ rx-*-elf)
tmake_file="rx/t-rx t-fdpbit"
tm_file="$tm_file rx/rx-abi.h rx/rx-lib.h"
;;
+rx-*-linux*)
+ tmake_file="rx/t-rx"
+ ;;
s390-*-linux*)
tmake_file="${tmake_file} s390/t-crtstuff s390/t-linux s390/32/t-floattodi t-stack s390/t-stack-s390"
md_unwind_header=s390/linux-unwind.h
diff --git a/libgcc/config/rx/t-rx b/libgcc/config/rx/t-rx
index ace3b16..34cdc97 100644
--- a/libgcc/config/rx/t-rx
+++ b/libgcc/config/rx/t-rx
@@ -23,6 +23,7 @@
# the normal libgcc sources:
LIB2ADD = $(srcdir)/config/rx/rx-abi-functions.c
+HOST_LIBGCC2_CFLAGS += -DDF=SF
# We need special handling of the floating point conversion