diff options
author | Iain Sandoe <iains@gcc.gnu.org> | 2011-11-22 13:51:07 +0000 |
---|---|---|
committer | Iain Sandoe <iains@gcc.gnu.org> | 2011-11-22 13:51:07 +0000 |
commit | e2362f5de06d4ba52f86421b0869b0ab04f89315 (patch) | |
tree | cb37d55577828a0e4d3083598574060fadac99a9 /gcc/config/i386/darwin.h | |
parent | 018076e705f8783a471dc36cef10b60d30d95ebf (diff) | |
download | gcc-e2362f5de06d4ba52f86421b0869b0ab04f89315.zip gcc-e2362f5de06d4ba52f86421b0869b0ab04f89315.tar.gz gcc-e2362f5de06d4ba52f86421b0869b0ab04f89315.tar.bz2 |
darwin.h (ENDFILE_SPEC): New.
gcc:
* config/darwin.h (ENDFILE_SPEC): New.
(DARWIN_CRT1_SPEC): Add crttms.o.
(STARTFILE_SPEC): Likewise for dynamic libs and bundles.
* config/i386.h (ENDFILE_SPEC): Amend to include crttme.o.
libgcc:
* config/darwin-crt-tm.c: New file.
* config.host (darwin): Build crttms.o crttme.o to provide
startup and shutdown for tm clones.
* config/t-darwin (crttms.o): New build rule.
(crttme.o): Likewise.
From-SVN: r181616
Diffstat (limited to 'gcc/config/i386/darwin.h')
-rw-r--r-- | gcc/config/i386/darwin.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/i386/darwin.h b/gcc/config/i386/darwin.h index 705fe98..83da293 100644 --- a/gcc/config/i386/darwin.h +++ b/gcc/config/i386/darwin.h @@ -132,7 +132,8 @@ extern int darwin_emit_branch_islands; "%{Ofast|ffast-math|funsafe-math-optimizations:crtfastmath.o%s} \ %{mpc32:crtprec32.o%s} \ %{mpc64:crtprec64.o%s} \ - %{mpc80:crtprec80.o%s}" + %{mpc80:crtprec80.o%s} \ + %{fgnu-tm: -lcrttme.o}" #undef SUBTARGET_EXTRA_SPECS #define SUBTARGET_EXTRA_SPECS \ |