OSDN Git Service

2004-11-15 Mark Mitchell <mark@codesourcery.com>
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 15 Nov 2004 15:55:45 +0000 (15:55 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 15 Nov 2004 15:55:45 +0000 (15:55 +0000)
* config/t-slibgcc-sld (SHLIB_LINK): Make symlinks entirely
within the multilib directory.

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

gcc/ChangeLog
gcc/config/t-slibgcc-sld

index 96e4dce..6a8eda1 100644 (file)
@@ -1,3 +1,8 @@
+2004-11-15  Mark Mitchell <mark@codesourcery.com>
+
+       * config/t-slibgcc-sld (SHLIB_LINK): Make symlinks entirely
+       within the multilib directory.
+
 2004-11-15  Nick Clifton  <nickc@redhat.com>
 
        * config/stormy16/stormy16.h (TARGET_CPU_CPP_BUILTINS): Add
index a4e5a07..5f2a5ca 100644 (file)
@@ -12,12 +12,12 @@ SHLIB_LINK = $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -shared -nodefaultlibs \
        -Wl,-h,$(SHLIB_SONAME) -Wl,-z,text -Wl,-z,defs \
        -Wl,-M,$(SHLIB_MAP) -o $(SHLIB_NAME).tmp \
        @multilib_flags@ $(SHLIB_OBJS) -lc && \
-       rm -f $(SHLIB_SOLINK) && \
+       rm -f @shlib_dir@$(SHLIB_SOLINK) && \
        if [ -f $(SHLIB_NAME) ]; then \
          mv -f $(SHLIB_NAME) $(SHLIB_NAME).`basename $(STAGE_PREFIX)`; \
        else true; fi && \
        mv $(SHLIB_NAME).tmp $(SHLIB_NAME) && \
-       $(LN_S) $(SHLIB_NAME) $(SHLIB_SOLINK)
+       $(LN_S) $(SHLIB_SONAME) @shlib_dir@$(SHLIB_SOLINK)
 # $(slibdir) double quoted to protect it from expansion while building
 # libgcc.mk.  We want this delayed until actual install time.
 SHLIB_INSTALL = \