t-slibgcc-sld (SHLIB_LINK): Make symlinks entirely within the multilib directory.

2004-11-15  Mark Mitchell <mark@codesourcery.com>

	* config/t-slibgcc-sld (SHLIB_LINK): Make symlinks entirely
	within the multilib directory.

From-SVN: r90669
This commit is contained in:
Mark Mitchell 2004-11-15 15:55:45 +00:00 committed by Joseph Myers
parent f15dc49f0a
commit 9c0787e298
2 changed files with 7 additions and 2 deletions

View 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

View 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 = \