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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [config/] [sh/] [t-linux] - Blame information for rev 827

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

Line No. Rev Author Line
1 38 julius
TARGET_LIBGCC2_CFLAGS = -fpic -DNO_FPSCR_VALUES
2
LIB1ASMFUNCS_CACHE = _ic_invalidate _ic_invalidate_array
3
 
4
LIB2FUNCS_EXTRA= $(srcdir)/config/sh/linux-atomic.asm
5
 
6
MULTILIB_DIRNAMES=
7
MULTILIB_MATCHES =
8
MULTILIB_EXCEPTIONS=
9
 
10
EXTRA_MULTILIB_PARTS= crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o
11
 
12
# Override t-slibgcc-elf-ver to export some libgcc symbols with
13
# the symbol versions that glibc used, and hide some lib1func
14
# routines which should not be called via PLT.  We have to create
15
# the list from scratch.
16
SHLIB_MAPFILES = \
17
        $(srcdir)/libgcc-std.ver \
18
        $(srcdir)/config/sh/libgcc-excl.ver \
19
        $(srcdir)/config/sh/libgcc-glibc.ver
20
 
21
# Override SHLIB_LINK and SHLIB_INSTALL to use linker script
22
# libgcc_s.so.
23
SHLIB_LINK = $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -shared -nodefaultlibs \
24
        -Wl,--soname=$(SHLIB_SONAME) \
25
        -Wl,--version-script=$(SHLIB_MAP) \
26
        -o $(SHLIB_DIR)/$(SHLIB_SONAME).tmp @multilib_flags@ \
27
        $(SHLIB_OBJS) $(SHLIB_LC) && \
28
        rm -f $(SHLIB_DIR)/$(SHLIB_SOLINK) && \
29
        if [ -f $(SHLIB_DIR)/$(SHLIB_SONAME) ]; then \
30
          mv -f $(SHLIB_DIR)/$(SHLIB_SONAME) \
31
                $(SHLIB_DIR)/$(SHLIB_SONAME).backup; \
32
        else true; fi && \
33
        mv $(SHLIB_DIR)/$(SHLIB_SONAME).tmp $(SHLIB_DIR)/$(SHLIB_SONAME) && \
34
        (echo "/* GNU ld script"; \
35
         echo "   Use the shared library, but some functions are only in"; \
36
         echo "   the static library.  */"; \
37
         echo "GROUP ( $(SHLIB_SONAME) libgcc.a )" \
38
        ) > $(SHLIB_DIR)/$(SHLIB_SOLINK)
39
SHLIB_INSTALL = \
40
        $$(mkinstalldirs) $$(DESTDIR)$$(slibdir)$(SHLIB_SLIBDIR_QUAL); \
41
        $(INSTALL_DATA) $(SHLIB_DIR)/$(SHLIB_SONAME) \
42
          $$(DESTDIR)$$(slibdir)$(SHLIB_SLIBDIR_QUAL)/$(SHLIB_SONAME); \
43
        rm -f $$(DESTDIR)$$(slibdir)$(SHLIB_SLIBDIR_QUAL)/$(SHLIB_SOLINK); \
44
        $(INSTALL_DATA) $(SHLIB_DIR)/$(SHLIB_SOLINK) \
45
          $$(DESTDIR)$$(slibdir)$(SHLIB_SLIBDIR_QUAL)/$(SHLIB_SOLINK)

powered by: WebSVN 2.1.0

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