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 /libgcc/config/t-darwin | |
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 'libgcc/config/t-darwin')
-rw-r--r-- | libgcc/config/t-darwin | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libgcc/config/t-darwin b/libgcc/config/t-darwin index e32127e..3365f01 100644 --- a/libgcc/config/t-darwin +++ b/libgcc/config/t-darwin @@ -3,6 +3,12 @@ crt3.o: $(srcdir)/config/darwin-crt3.c $(crt_compile) \ -fno-tree-dominator-opts $(DARWIN_EXTRA_CRT_BUILD_CFLAGS) -c $< +crttms.o: $(srcdir)/config/darwin-crt-tm.c + $(crt_compile) $(DARWIN_EXTRA_CRT_BUILD_CFLAGS) -DSTART -c $< + +crttme.o: $(srcdir)/config/darwin-crt-tm.c + $(crt_compile) $(DARWIN_EXTRA_CRT_BUILD_CFLAGS) -DEND -c $< + # -pipe because there's an assembler bug, 4077127, which causes # it to not properly process the first # directive, causing temporary # file names to appear in stabs, causing the bootstrap to fail. Using -pipe |