summaryrefslogtreecommitdiff
path: root/gcc/config/t-slibgcc-elf-ver
diff options
context:
space:
mode:
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2004-12-16 19:14:29 +0000
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2004-12-16 19:14:29 +0000
commitece1cf4f24d4adacd7b39adde40703d071a0450f (patch)
treef45cb746a5ca55c5c9fecab1275f7ff6eb516112 /gcc/config/t-slibgcc-elf-ver
parente41f2c1a51bd3e35d7c7d7db0d7ba2552adcc307 (diff)
downloadgcc-ece1cf4f24d4adacd7b39adde40703d071a0450f.tar.gz
2004-12-14 H.J. Lu <hongjiu.lu@intel.com>
PR other/18508 * config/alpha/t-osf4 (SHLIB_LINK): Use `.backup' as the suffix to back up the existing shared library. * config/arm/t-netbsd (SHLIB_LINK): Likewise. * config/mips/t-slibgcc-irix (SHLIB_LINK): Likewise. * config/pa/t-hpux-shlib (SHLIB_LINK): Likewise. * config/sh/t-linux (SHLIB_LINK): Likewise. * config/t-libunwind-elf (SHLIBUNWIND_LINK): Likewise. * config/t-slibgcc-darwin (SHLIB_LINK): Likewise. * config/t-slibgcc-elf-ver (SHLIB_LINK): Likewise. * config/t-slibgcc-sld (SHLIB_LINK): Likewise. * config/i386/t-nwld (SHLIB_LINK): Don't use the temporary file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92276 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/t-slibgcc-elf-ver')
-rw-r--r--gcc/config/t-slibgcc-elf-ver2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/t-slibgcc-elf-ver b/gcc/config/t-slibgcc-elf-ver
index bf03277e0eb..e70647aa831 100644
--- a/gcc/config/t-slibgcc-elf-ver
+++ b/gcc/config/t-slibgcc-elf-ver
@@ -17,7 +17,7 @@ SHLIB_LINK = $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -shared -nodefaultlibs \
-o $(SHLIB_NAME).tmp @multilib_flags@ $(SHLIB_OBJS) $(SHLIB_LC) && \
rm -f $(SHLIB_SOLINK) && \
if [ -f $(SHLIB_NAME) ]; then \
- mv -f $(SHLIB_NAME) $(SHLIB_NAME).`basename $(STAGE_PREFIX)`; \
+ mv -f $(SHLIB_NAME) $(SHLIB_NAME).backup; \
else true; fi && \
mv $(SHLIB_NAME).tmp $(SHLIB_NAME) && \
$(LN_S) $(SHLIB_NAME) $(SHLIB_SOLINK)