diff options
author | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-04-03 07:37:56 +0000 |
---|---|---|
committer | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-04-03 07:37:56 +0000 |
commit | 6d057ce805c5cb919770002e6b07f6c9803c45d9 (patch) | |
tree | 9ef0f139d7178683b8cd1dc53dbd0d6d07b7a86b /libgcc | |
parent | 8b37ce9e377838dcc25ba52c838308c8d32b1a0c (diff) | |
download | gcc-6d057ce805c5cb919770002e6b07f6c9803c45d9.tar.gz |
* config.gcc (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
(x86_64-*-linux*): Ditto.
* config/i386/i386.opt (mpc): New option.
* config/i386/i386.c (overrride_options): Handle
ix87_precision_string.
* config/i386/crtprec.c: New file.
* config/i386/t-crtpc: Ditto.
* config/i386/linux.h (ENDFILE_SPEC): Add handling of -mpc32, -mpc64
and -mpc80 options.
* config/i386/linux64.h (ENDFILE_SPEC): Ditto.
* config/i386/t-linux64 (EXTRA_MULTILIB_PARTS): Add
crtprec32.o, crtprec64.o and crtprec80.o.
* doc/invoke.texi (Machine Dependent Options): Add -mpc32, -mpc64
and -mpc80 options.
(i386 and x86-64 Options): Document -mpc32, -mpc64 and -mpc80 options.
libgcc/ChangeLog:
* config/i386/t-crtpc: New file.
* config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
(x86_64-*-linux*): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123450 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgcc')
-rw-r--r-- | libgcc/ChangeLog | 6 | ||||
-rw-r--r-- | libgcc/config.host | 8 | ||||
-rw-r--r-- | libgcc/config/i386/t-crtpc | 8 |
3 files changed, 18 insertions, 4 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index de59b9d56da..6b1c4b14023 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,9 @@ +2007-04-03 Uros Bizjak <ubizjak@gmail.com> + + * config/i386/t-crtpc: New file. + * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file. + (x86_64-*-linux*): Ditto. + 2007-02-30 Kai Tietz <kai.tietz@onevision.com> * config.host (x86_64-*-mingw*): New target. diff --git a/libgcc/config.host b/libgcc/config.host index f5fff370941..3e575ab7cb6 100644 --- a/libgcc/config.host +++ b/libgcc/config.host @@ -328,12 +328,12 @@ i[34567]86-*-openbsd*) i[34567]86-*-coff*) ;; i[34567]86-*-linux* | i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu) - extra_parts="$extra_parts crtfastmath.o" - tmake_file="${tmake_file} i386/t-crtfm" + extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o" + tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm" ;; x86_64-*-linux* | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu) - extra_parts="$extra_parts crtfastmath.o" - tmake_file="${tmake_file} i386/t-crtfm" + extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o" + tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm" ;; i[34567]86-*-gnu*) ;; diff --git a/libgcc/config/i386/t-crtpc b/libgcc/config/i386/t-crtpc new file mode 100644 index 00000000000..c231ce195f2 --- /dev/null +++ b/libgcc/config/i386/t-crtpc @@ -0,0 +1,8 @@ +crtprec32.o: $(gcc_srcdir)/config/i386/crtprec.c + $(gcc_compile) -D__PREC=32 -c $< + +crtprec64.o: $(gcc_srcdir)/config/i386/crtprec.c + $(gcc_compile) -D__PREC=64 -c $< + +crtprec80.o: $(gcc_srcdir)/config/i386/crtprec.c + $(gcc_compile) -D__PREC=80 -c $< |