summaryrefslogtreecommitdiff
path: root/gcc/config/i386
diff options
context:
space:
mode:
authorechristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4>2007-06-16 02:43:57 +0000
committerechristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4>2007-06-16 02:43:57 +0000
commit2e76978a5a65d6b6643a5f7045585379ecf92fdb (patch)
tree9393ef91f5bddbb6ee56c1a2e6ea5876c10a0792 /gcc/config/i386
parentf5c82f386d180fca1930b5b15383ae4ad06c2f20 (diff)
downloadgcc-2e76978a5a65d6b6643a5f7045585379ecf92fdb.tar.gz
2007-06-15 Eric Christopher <echristo@apple.com>
* config.gcc (i?86-*-darwin*): Add t-crtfm and t-crtpc. (x86_64-*-darwin*): Ditto. * config/i386/darwin.h (CRTEND_SPEC): New. Add support for above. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125754 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386')
-rw-r--r--gcc/config/i386/darwin.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/config/i386/darwin.h b/gcc/config/i386/darwin.h
index 9cc5e542445..d793e025665 100644
--- a/gcc/config/i386/darwin.h
+++ b/gcc/config/i386/darwin.h
@@ -108,6 +108,13 @@ Boston, MA 02110-1301, USA. */
,objective-c++-header|,objc++-cpp-output:10.5; \
:10.4}"
+#undef ENDFILE_SPEC
+#define ENDFILE_SPEC \
+ "%{ffast-math|funsafe-math-optimizations:crtfastmath.o%s} \
+ %{mpc32:crtprec32.o%s} \
+ %{mpc64:crtprec64.o%s} \
+ %{mpc80:crtprec80.o%s}"
+
#undef SUBTARGET_EXTRA_SPECS
#define SUBTARGET_EXTRA_SPECS \
DARWIN_EXTRA_SPECS \