summaryrefslogtreecommitdiff
path: root/libgcc/config
diff options
context:
space:
mode:
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2007-04-03 07:37:56 +0000
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2007-04-03 07:37:56 +0000
commit6d057ce805c5cb919770002e6b07f6c9803c45d9 (patch)
tree9ef0f139d7178683b8cd1dc53dbd0d6d07b7a86b /libgcc/config
parent8b37ce9e377838dcc25ba52c838308c8d32b1a0c (diff)
downloadgcc-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/config')
-rw-r--r--libgcc/config/i386/t-crtpc8
1 files changed, 8 insertions, 0 deletions
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 $<