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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-dev/] [fsf-gcc-snapshot-1-mar-12/] [or1k-gcc/] [libgcc/] [config/] [rs6000/] [t-slibgcc-aix] - Diff between revs 734 and 783

Only display areas with differences | Details | Blame | View Log

Rev 734 Rev 783
# Copyright (C) 2002, 2003, 2004, 2005, 2006,
# Copyright (C) 2002, 2003, 2004, 2005, 2006,
# 2008, 2011 Free Software Foundation, Inc.
# 2008, 2011 Free Software Foundation, Inc.
#
#
# This file is part of GCC.
# This file is part of GCC.
#
#
# GCC is free software; you can redistribute it and/or modify
# GCC is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
# any later version.
#
#
# GCC is distributed in the hope that it will be useful,
# GCC is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
# GNU General Public License for more details.
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3.  If not see
# along with GCC; see the file COPYING3.  If not see
# .
# .
# Build a shared libgcc library.
# Build a shared libgcc library.
SHLIB_EXT = .a
SHLIB_EXT = .a
SHLIB_LINK = $(CC) $(LIBGCC2_CFLAGS) -shared -nodefaultlibs \
SHLIB_LINK = $(CC) $(LIBGCC2_CFLAGS) -shared -nodefaultlibs \
        -Wl,-bE:@shlib_map_file@ -o @multilib_dir@/shr.o \
        -Wl,-bE:@shlib_map_file@ -o @multilib_dir@/shr.o \
        @multilib_flags@ @shlib_objs@ -lc \
        @multilib_flags@ @shlib_objs@ -lc \
        `case @multilib_dir@ in \
        `case @multilib_dir@ in \
        *pthread*) echo -L$(TARGET_SYSTEM_ROOT)/usr/lib/threads -lpthreads -lc_r $(TARGET_SYSTEM_ROOT)/usr/lib/libc.a ;; \
        *pthread*) echo -L$(TARGET_SYSTEM_ROOT)/usr/lib/threads -lpthreads -lc_r $(TARGET_SYSTEM_ROOT)/usr/lib/libc.a ;; \
        *) echo -lc ;; esac` ; \
        *) echo -lc ;; esac` ; \
        rm -f @multilib_dir@/tmp-@shlib_base_name@.a ; \
        rm -f @multilib_dir@/tmp-@shlib_base_name@.a ; \
        $(AR_CREATE_FOR_TARGET) @multilib_dir@/tmp-@shlib_base_name@.a \
        $(AR_CREATE_FOR_TARGET) @multilib_dir@/tmp-@shlib_base_name@.a \
        @multilib_dir@/shr.o ; \
        @multilib_dir@/shr.o ; \
        mv @multilib_dir@/tmp-@shlib_base_name@.a \
        mv @multilib_dir@/tmp-@shlib_base_name@.a \
           @multilib_dir@/@shlib_base_name@.a ; \
           @multilib_dir@/@shlib_base_name@.a ; \
        rm -f @multilib_dir@/shr.o
        rm -f @multilib_dir@/shr.o
SHLIB_INSTALL = \
SHLIB_INSTALL = \
        $(mkinstalldirs) $(DESTDIR)$(slibdir)@shlib_slibdir_qual@; \
        $(mkinstalldirs) $(DESTDIR)$(slibdir)@shlib_slibdir_qual@; \
        $(INSTALL_DATA) @multilib_dir@/@shlib_base_name@.a \
        $(INSTALL_DATA) @multilib_dir@/@shlib_base_name@.a \
                $(DESTDIR)$(slibdir)@shlib_slibdir_qual@/
                $(DESTDIR)$(slibdir)@shlib_slibdir_qual@/
SHLIB_LIBS = -lc `case @multilib_dir@ in *pthread*) echo -lpthread ;; esac`
SHLIB_LIBS = -lc `case @multilib_dir@ in *pthread*) echo -lpthread ;; esac`
SHLIB_MKMAP = $(srcdir)/mkmap-flat.awk
SHLIB_MKMAP = $(srcdir)/mkmap-flat.awk
SHLIB_MAPFILES = libgcc-std.ver
SHLIB_MAPFILES = libgcc-std.ver
SHLIB_NM_FLAGS = -Bpg -X32_64
SHLIB_NM_FLAGS = -Bpg -X32_64
# Either 32-bit and 64-bit objects in archives.
# Either 32-bit and 64-bit objects in archives.
AR_FLAGS_FOR_TARGET = -X32_64
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.