* config/arm/arm.c (arm_legitimize_address): Limit the value passed
[official-gcc.git] / gcc / config / t-slibgcc-sld
blob02d21c6de678177797e64b4da7d31fc76f680fe9
1 # Build a shared libgcc library with the Solaris linker.
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@
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