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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libgcc/] [config/] [rs6000/] [t-slibgcc-aix] - Blame information for rev 734

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 734 jeremybenn
# Copyright (C) 2002, 2003, 2004, 2005, 2006,
2
# 2008, 2011 Free Software Foundation, Inc.
3
#
4
# This file is part of GCC.
5
#
6
# GCC is free software; you can redistribute it and/or modify
7
# it under the terms of the GNU General Public License as published by
8
# the Free Software Foundation; either version 3, or (at your option)
9
# any later version.
10
#
11
# GCC is distributed in the hope that it will be useful,
12
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
# GNU General Public License for more details.
15
#
16
# You should have received a copy of the GNU General Public License
17
# along with GCC; see the file COPYING3.  If not see
18
# .
19
 
20
# Build a shared libgcc library.
21
SHLIB_EXT = .a
22
SHLIB_LINK = $(CC) $(LIBGCC2_CFLAGS) -shared -nodefaultlibs \
23
        -Wl,-bE:@shlib_map_file@ -o @multilib_dir@/shr.o \
24
        @multilib_flags@ @shlib_objs@ -lc \
25
        `case @multilib_dir@ in \
26
        *pthread*) echo -L$(TARGET_SYSTEM_ROOT)/usr/lib/threads -lpthreads -lc_r $(TARGET_SYSTEM_ROOT)/usr/lib/libc.a ;; \
27
        *) echo -lc ;; esac` ; \
28
        rm -f @multilib_dir@/tmp-@shlib_base_name@.a ; \
29
        $(AR_CREATE_FOR_TARGET) @multilib_dir@/tmp-@shlib_base_name@.a \
30
        @multilib_dir@/shr.o ; \
31
        mv @multilib_dir@/tmp-@shlib_base_name@.a \
32
           @multilib_dir@/@shlib_base_name@.a ; \
33
        rm -f @multilib_dir@/shr.o
34
SHLIB_INSTALL = \
35
        $(mkinstalldirs) $(DESTDIR)$(slibdir)@shlib_slibdir_qual@; \
36
        $(INSTALL_DATA) @multilib_dir@/@shlib_base_name@.a \
37
                $(DESTDIR)$(slibdir)@shlib_slibdir_qual@/
38
SHLIB_LIBS = -lc `case @multilib_dir@ in *pthread*) echo -lpthread ;; esac`
39
SHLIB_MKMAP = $(srcdir)/mkmap-flat.awk
40
SHLIB_MAPFILES = libgcc-std.ver
41
SHLIB_NM_FLAGS = -Bpg -X32_64
42
 
43
# Either 32-bit and 64-bit objects in archives.
44
AR_FLAGS_FOR_TARGET = -X32_64

powered by: WebSVN 2.1.0

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