aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2015-06-30 16:42:07 +0000
committerH.J. Lu <hjl@gcc.gnu.org>2015-06-30 09:42:07 -0700
commitcb78b51ca0b545a8d6b0b72a3aa108f3012de4ee (patch)
treedd466327832c8886a41f63de348d602ae006e205 /libgcc
parentd90639476f7769578682cbf34628968a3428ebec (diff)
downloadgcc-cb78b51ca0b545a8d6b0b72a3aa108f3012de4ee.zip
gcc-cb78b51ca0b545a8d6b0b72a3aa108f3012de4ee.tar.gz
gcc-cb78b51ca0b545a8d6b0b72a3aa108f3012de4ee.tar.bz2
IA MCU psABI support: changes to libraries
Patch in the bottom adds support of IA MCU psABI to libgcc (enables soft-fp) and libdecnumber (enables it for IA MCU). config/ * dfp.m4 (enable_decimal_float): Also set to yes for i?86*-*-elfiamcu target. gcc/ * configure: Regenerated. libdecnumber/ * configure: Regenerated. libgcc/ * config.host: Support i[34567]86-*-elfiamcu target. * config/t-softfp-sfdftf: New file. * config/i386/32/t-iamcu: Likewise. * configure: Regenerated. From-SVN: r225198
Diffstat (limited to 'libgcc')
-rw-r--r--libgcc/ChangeLog7
-rw-r--r--libgcc/config.host3
-rw-r--r--libgcc/config/i386/32/t-iamcu1
-rw-r--r--libgcc/config/t-softfp-sfdftf5
-rw-r--r--libgcc/configure2
5 files changed, 17 insertions, 1 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index 9560388..72c8c7a 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,3 +1,10 @@
+2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config.host: Support i[34567]86-*-elfiamcu target.
+ * config/t-softfp-sfdftf: New file.
+ * config/i386/32/t-iamcu: Likewise.
+ * configure: Regenerated.
+
2015-06-23 James Lemke <jwlemke@codesourcery.com>
libgcc/config/arm/
diff --git a/libgcc/config.host b/libgcc/config.host
index 46666df..3a2c75d 100644
--- a/libgcc/config.host
+++ b/libgcc/config.host
@@ -562,6 +562,9 @@ x86_64-*-darwin*)
tm_file="$tm_file i386/darwin-lib.h"
extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
;;
+i[34567]86-*-elfiamcu)
+ tmake_file="$tmake_file i386/t-crtstuff t-softfp-sfdftf i386/32/t-softfp i386/32/t-iamcu i386/t-softfp t-softfp t-dfprules"
+ ;;
i[34567]86-*-elf*)
tmake_file="$tmake_file i386/t-crtstuff t-crtstuff-pic t-libgcc-pic"
;;
diff --git a/libgcc/config/i386/32/t-iamcu b/libgcc/config/i386/32/t-iamcu
new file mode 100644
index 0000000..7595cde
--- /dev/null
+++ b/libgcc/config/i386/32/t-iamcu
@@ -0,0 +1 @@
+HOST_LIBGCC2_CFLAGS += -mlong-double-80
diff --git a/libgcc/config/t-softfp-sfdftf b/libgcc/config/t-softfp-sfdftf
new file mode 100644
index 0000000..ed71d21
--- /dev/null
+++ b/libgcc/config/t-softfp-sfdftf
@@ -0,0 +1,5 @@
+softfp_float_modes := sf df tf
+softfp_int_modes := si di
+softfp_extensions := sfdf sftf dftf xftf
+softfp_truncations := dfsf tfsf tfdf tfxf
+softfp_exclude_libgcc2 := n
diff --git a/libgcc/configure b/libgcc/configure
index ce66d1d..e22cbcb 100644
--- a/libgcc/configure
+++ b/libgcc/configure
@@ -4436,7 +4436,7 @@ else
case $host in
powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | s390*-*-linux* | \
- i?86*-*-gnu* | \
+ i?86*-*-elfiamcu | i?86*-*-gnu* | \
i?86*-*-mingw* | x86_64*-*-mingw* | \
i?86*-*-cygwin* | x86_64*-*-cygwin*)
enable_decimal_float=yes