2d1efe2d2d
gcc: * Makefile.in (CRT0STUFF_T_CFLAGS): Remove. ($(T)crt0.o, $(T)mcrt0.o, s-crt0): Remove. * config/i386/netware-crt0.c: Move to ../libgcc/config/i386. * config/i386/t-nwld (CRTSTUFF_T_CFLAGS, CRT0STUFF_T_CFLAGS): Remove. (CRT0_S, MCRT0_S): Remove. ($(T)libgcc.def, $(T)libc.def, $(T)libcpre.def, $(T)posixpre.def): Remove. (s-crt0): Remove. * config.gcc (i[3456x]86-*-netware*): Remove extra_parts. libgcc: * config/i386/netware-crt0.c: New file. * config/i386/t-nwld: Rename to ... * config/i386/t-slibgcc-nwld: ... this. * config/i386/t-nwld: New file. * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to tmake_file. Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to extra_parts. From-SVN: r176225
40 lines
1.3 KiB
Plaintext
40 lines
1.3 KiB
Plaintext
# Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011
|
|
# Free Software Foundation, Inc.
|
|
#
|
|
# This file is part of GCC.
|
|
#
|
|
# GCC is free software; you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation; either version 3, or (at your option)
|
|
# any later version.
|
|
#
|
|
# GCC is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with GCC; see the file COPYING3. If not see
|
|
# <http://www.gnu.org/licenses/>.
|
|
|
|
crt0.o: $(srcdir)/config/i386/netware-crt0.c
|
|
$(crt_compile) $(CRTSTUFF_T_CFLAGS) -c $<
|
|
|
|
CRTSTUFF_T_CFLAGS = -mpreferred-stack-boundary=2
|
|
|
|
libgcc.def: $(srcdir)/config/i386/t-nwld
|
|
echo "module libgcc_s" >$@
|
|
|
|
libc.def: $(srcdir)/config/i386/t-nwld
|
|
echo "module libc" >$@
|
|
|
|
libcpre.def: $(srcdir)/config/i386/t-nwld
|
|
echo "start _LibCPrelude" >$@
|
|
echo "exit _LibCPostlude" >>$@
|
|
echo "check _LibCCheckUnload" >>$@
|
|
|
|
posixpre.def: $(srcdir)/config/i386/t-nwld
|
|
echo "start POSIX_Start" >$@
|
|
echo "exit POSIX_Stop" >>$@
|
|
echo "check POSIX_CheckUnload" >>$@
|