OSDN Git Service

2006-07-19 Eric Christopher <echristo@apple.com>
authorechristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Jul 2006 07:35:32 +0000 (07:35 +0000)
committerechristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Jul 2006 07:35:32 +0000 (07:35 +0000)
        * config/t-slibgcc-darwin (stmp-lipo): Remove.
        Rewrite dependencies for libgcc_s.1.dylib.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115608 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/t-slibgcc-darwin

index 438a6ae..bb5eae6 100644 (file)
@@ -1,3 +1,8 @@
+2006-07-19  Eric Christopher  <echristo@apple.com>
+
+       * config/t-slibgcc-darwin (stmp-lipo): Remove.
+       Rewrite dependencies for libgcc_s.1.dylib.
+
 2006-07-19  Jakub Jelinek  <jakub@redhat.com>
 
        * except.c (duplicate_eh_regions_1): Clear next_peer.
@@ -39,7 +44,7 @@
        Whether a constructor node is a valid static constant initializer
        if all its elements are.
        (initializer_constant_valid_p) <CONSTRUCTOR value>: Use it.
-       * output.h: Declare it. 
+       * output.h: Declare it.
        * expr.c (categorize_ctor_elements_1): Return whether the constructor
        is a valid constant initializer instead of computing the number of
        non-constant elements.  Use constructor_static_from_elts_p for this
@@ -49,7 +54,7 @@
        helper.  Former head comment from this helper moved here, adjusted to
        account for the interface changes.
        (mostly_zeros_p): Adjust call to categorize_ctor_elements.
-       (all_zeros_p): Likewise.        
+       (all_zeros_p): Likewise.
        * gimplify.c (gimplify_init_constructor): Decide whether we can make
        static versions of the constructor from the categorize_ctor_elements
        return value instead of the formerly computed number of non-constant
 2006-07-14  Carlos O'Donell  <carlos@codesourcery.com>
 
        * dbxout.c (dbxout_begin_prologue): Emit LFBB label at function start.
-       (dbxout_function_end): Use local label LFBB. Remove hook 
+       (dbxout_function_end): Use local label LFBB. Remove hook
        DBX_OUTPUT_NFUN.
        (dbxout_source_line): Use local label LFBB.
        (dbxout_block): Likewise.
 
        * config/sh/sh.c (sh_reorg): Ignore deleted insns whilst
        walking the LOG_LINKS chain.
-  
+
 2006-07-12  Geoffrey Keating  <geoffk@apple.com>
 
        * doc/invoke.texi (C++ Dialect Options): Explain difference
index cfde598..d9381e6 100644 (file)
@@ -43,7 +43,7 @@ ASM_HIDDEN_OP = .private_extern
 # The actual use of the libraries is controlled by REAL_LIBGCC_SPEC.
 #
 # This assumes each multilib corresponds to a different architecture.
-libgcc_s.%.dylib : $(SHLIB_VERPFX).%.ver libgcc.a
+libgcc_s.%.dylib : $(SHLIB_VERPFX).%.ver stmp-multilib
        # When building multilibbed target libraries, all the required
        # libraries are expected to exist in the multilib directory.
        MLIBS=`$(GCC_FOR_TARGET) --print-multi-lib \
@@ -62,7 +62,8 @@ libgcc_s.%.dylib : $(SHLIB_VERPFX).%.ver libgcc.a
        $(LIPO_FOR_TARGET) -output $@ -create $(@)_T*
        rm $(@)_T*
 
-stmp-lipo: libgcc.a libgcc_s.10.4.dylib libgcc_s.10.5.dylib
+libgcc_s.$(SHLIB_SOVERSION)$(SHLIB_EXT): stmp-multilib libgcc_s.10.4.dylib \
+       libgcc_s.10.5.dylib
        # When building multilibbed target libraries, all the required
        # libraries are expected to exist in the multilib directory.
        MLIBS=`$(GCC_FOR_TARGET) --print-multi-lib \
@@ -74,16 +75,15 @@ stmp-lipo: libgcc.a libgcc_s.10.4.dylib libgcc_s.10.5.dylib
        $(LIPO_FOR_TARGET) -output libgcc_s.$(SHLIB_SOVERSION)$(SHLIB_EXT) \
          -create libgcc_s.$(SHLIB_SOVERSION)$(SHLIB_EXT)_T*
        rm libgcc_s.$(SHLIB_SOVERSION)$(SHLIB_EXT)_T*
-       $(STAMP) stmp-lipo
 
 # From the point-of-view of the Makefiles, libgcc is built by the 'strip'
 # and 'lipo' commands above.
-LIBGCC=stmp-lipo
+LIBGCC=libgcc_s.$(SHLIB_SOVERSION)$(SHLIB_EXT) libgcc_s.10.4.dylib \
+       libgcc_s.10.5.dylib stmp-multilib
 
 INSTALL_FILES=libgcc_s.10.4.dylib libgcc_s.10.5.dylib libgcc_s.1.dylib
 
-install-darwin-libgcc-stubs : $(INSTALL_FILES) installdirs install-multilib \
-                               stmp-lipo
+install-darwin-libgcc-stubs : $(INSTALL_FILES) installdirs
        for d in $(INSTALL_FILES) ; do \
          $(INSTALL_DATA) $$d $(DESTDIR)$(slibdir)/$$d || exit 1 ; \
        done
@@ -93,4 +93,4 @@ install-darwin-libgcc-stubs : $(INSTALL_FILES) installdirs install-multilib \
        $(LN_S) libgcc_s.1.dylib \
                $(DESTDIR)$(slibdir)/libgcc_s_ppc64.1.dylib
 
-INSTALL_LIBGCC += install-darwin-libgcc-stubs
+INSTALL_LIBGCC = install-darwin-libgcc-stubs install-multilib