Skip to content

Commit

Permalink
IA MCU psABI support: changes to libraries
Browse files Browse the repository at this point in the history
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.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@225198 138bc75d-0d04-0410-961f-82ee72b054a4
  • Loading branch information
hjl committed Jun 30, 2015
1 parent 1c26a2e commit 146896e
Show file tree
Hide file tree
Showing 11 changed files with 33 additions and 4 deletions.
5 changes: 5 additions & 0 deletions config/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2015-06-30 H.J. Lu <hongjiu.lu@intel.com>

* dfp.m4 (enable_decimal_float): Also set to yes for
i?86*-*-elfiamcu target.

2015-05-27 Jason Merrill <jason@redhat.com>

PR bootstrap/66304
Expand Down
2 changes: 1 addition & 1 deletion config/dfp.m4
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Valid choices are 'yes', 'bid', 'dpd', and 'no'.]) ;;
[
case $1 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
Expand Down
4 changes: 4 additions & 0 deletions gcc/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2015-06-30 H.J. Lu <hongjiu.lu@intel.com>

* configure: Regenerated.

2015-06-30 H.J. Lu <hongjiu.lu@intel.com>

* config.gcc: Support i[34567]86-*-elfiamcu target.
Expand Down
2 changes: 1 addition & 1 deletion gcc/configure
Original file line number Diff line number Diff line change
Expand Up @@ -7317,7 +7317,7 @@ else

case $target 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
Expand Down
4 changes: 4 additions & 0 deletions libdecnumber/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2015-06-30 H.J. Lu <hongjiu.lu@intel.com>

* configure: Regenerated.

2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>

* aclocal.m4: Regenerated with automake-1.11.6.
Expand Down
2 changes: 1 addition & 1 deletion libdecnumber/configure
Original file line number Diff line number Diff line change
Expand Up @@ -4614,7 +4614,7 @@ else
case $target 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
Expand Down
7 changes: 7 additions & 0 deletions libgcc/ChangeLog
Original file line number Diff line number Diff line change
@@ -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/
Expand Down
3 changes: 3 additions & 0 deletions libgcc/config.host
Original file line number Diff line number Diff line change
Expand Up @@ -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"
;;
Expand Down
1 change: 1 addition & 0 deletions libgcc/config/i386/32/t-iamcu
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
HOST_LIBGCC2_CFLAGS += -mlong-double-80
5 changes: 5 additions & 0 deletions libgcc/config/t-softfp-sfdftf
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion libgcc/configure
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 146896e

Please sign in to comment.