comparison gcc/config/arm/t-netbsd @ 0:a06113de4d67

first commit
author kent <kent@cr.ie.u-ryukyu.ac.jp>
date Fri, 17 Jul 2009 14:47:48 +0900
parents
children 77e2b8dfacca
comparison
equal deleted inserted replaced
-1:000000000000 0:a06113de4d67
1 # Just for these, we omit the frame pointer since it makes such a big
2 # difference. It is then pointless adding debugging.
3 TARGET_LIBGCC2_CFLAGS = -fomit-frame-pointer -fpic
4 LIBGCC2_DEBUG_CFLAGS = -g0
5 LIB2FUNCS_EXTRA = $(srcdir)/config/floatunsidf.c $(srcdir)/config/floatunsisf.c
6
7 # Build a shared libgcc library.
8 SHLIB_EXT = .so
9 SHLIB_NAME = @shlib_base_name@.so
10 SHLIB_SONAME = @shlib_base_name@.so.1
11 SHLIB_OBJS = @shlib_objs@
12
13 SHLIB_LINK = $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -shared -nodefaultlibs \
14 -Wl,-soname,$(SHLIB_SONAME) \
15 -o $(SHLIB_NAME).tmp @multilib_flags@ $(SHLIB_OBJS) -lc && \
16 rm -f $(SHLIB_SONAME) && \
17 if [ -f $(SHLIB_NAME) ]; then \
18 mv -f $(SHLIB_NAME) $(SHLIB_NAME).backup; \
19 else true; fi && \
20 mv $(SHLIB_NAME).tmp $(SHLIB_NAME) && \
21 $(LN_S) $(SHLIB_NAME) $(SHLIB_SONAME)
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); \
26 $(INSTALL_DATA) $(SHLIB_NAME) $$(DESTDIR)$$(slibdir)/$(SHLIB_SONAME); \
27 rm -f $$(DESTDIR)$$(slibdir)/$(SHLIB_NAME); \
28 $(LN_S) $(SHLIB_SONAME) $$(DESTDIR)$$(slibdir)/$(SHLIB_NAME)