OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [config/] [t-slibgcc-sld] - Blame information for rev 307

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
# Build a shared libgcc library with the Solaris linker.
2
 
3
SHLIB_EXT = .so
4
SHLIB_SOLINK = @shlib_base_name@.so
5
SHLIB_SONAME = @shlib_base_name@.so.1
6
SHLIB_MAP = @shlib_map_file@
7
SHLIB_OBJS = @shlib_objs@
8
SHLIB_DIR = @multilib_dir@
9
SHLIB_SLIBDIR_QUAL = @shlib_slibdir_qual@
10
 
11
SHLIB_LINK = $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -shared -nodefaultlibs \
12
        -Wl,-h,$(SHLIB_SONAME) -Wl,-z,text -Wl,-z,defs \
13
        -Wl,-M,$(SHLIB_MAP) -o $(SHLIB_DIR)/$(SHLIB_SONAME).tmp \
14
        @multilib_flags@ $(SHLIB_OBJS) -lc && \
15
        rm -f $(SHLIB_DIR)/$(SHLIB_SOLINK) && \
16
        if [ -f $(SHLIB_DIR)/$(SHLIB_SONAME) ]; then \
17
          mv -f $(SHLIB_DIR)/$(SHLIB_SONAME) \
18
                $(SHLIB_DIR)/$(SHLIB_SONAME).backup; \
19
        else true; fi && \
20
        mv $(SHLIB_DIR)/$(SHLIB_SONAME).tmp $(SHLIB_DIR)/$(SHLIB_SONAME) && \
21
        $(LN_S) $(SHLIB_SONAME) $(SHLIB_DIR)/$(SHLIB_SOLINK)
22
# $(slibdir) double quoted to protect it from expansion while building
23
# libgcc.mk.  We want this delayed until actual install time.
24
SHLIB_INSTALL = \
25
        $$(mkinstalldirs) $$(DESTDIR)$$(slibdir)$(SHLIB_SLIBDIR_QUAL); \
26
        $(INSTALL_DATA) $(SHLIB_DIR)/$(SHLIB_SONAME) \
27
          $$(DESTDIR)$$(slibdir)$(SHLIB_SLIBDIR_QUAL)/$(SHLIB_SONAME); \
28
        rm -f $$(DESTDIR)$$(slibdir)$(SHLIB_SLIBDIR_QUAL)/$(SHLIB_SOLINK); \
29
        $(LN_S) $(SHLIB_SONAME) \
30
          $$(DESTDIR)$$(slibdir)$(SHLIB_SLIBDIR_QUAL)/$(SHLIB_SOLINK)
31
SHLIB_MKMAP = $(srcdir)/mkmap-symver.awk
32
SHLIB_MAPFILES = $(srcdir)/libgcc-std.ver

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.