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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [config/] [arc/] [t-arc] - Blame information for rev 283

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

Line No. Rev Author Line
1 282 jeremybenn
# Copyright (C) 1997, 1998, 1999, 2001, 2002, 2003,
2
# 2004 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
LIB1ASMSRC = arc/lib1funcs.asm
21
LIB1ASMFUNCS = _mulsi3 _umulsidi3 _udivsi3 _divsi3 _umodsi3 _modsi3 _divmod_tools
22
 
23
# We need libgcc routines to be mangled according to which cpu they
24
# were compiled for.
25
# ??? -mmangle-cpu passed by default for now.
26
#LIBGCC2_CFLAGS = -g1 -O2 $(LIBGCC2_INCLUDES) $(GCC_CFLAGS) -mmangle-cpu
27
 
28
# We want fine grained libraries, so use the new code to build the
29
# floating point emulation libraries.
30
FPBIT = fp-bit.c
31
DPBIT = dp-bit.c
32
 
33
dp-bit.c: $(srcdir)/config/fp-bit.c
34
        echo '#ifndef __big_endian__' > dp-bit.c
35
        echo '#define FLOAT_BIT_ORDER_MISMATCH' >> dp-bit.c
36
        echo '#endif' >> dp-bit.c
37
        cat $(srcdir)/config/fp-bit.c >> dp-bit.c
38
 
39
fp-bit.c: $(srcdir)/config/fp-bit.c
40
        echo '#define FLOAT' > fp-bit.c
41
        echo '#ifndef __big_endian__' >> fp-bit.c
42
        echo '#define FLOAT_BIT_ORDER_MISMATCH' >> fp-bit.c
43
        echo '#endif' >> fp-bit.c
44
        cat $(srcdir)/config/fp-bit.c >> fp-bit.c
45
 
46
# .init/.fini section routines
47
 
48
$(T)crtinit.o: $(srcdir)/config/arc/initfini.c $(GCC_PASSES) $(CONFIG_H)
49
        $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(CRTSTUFF_T_CFLAGS) \
50
         $(MULTILIB_CFLAGS) -DCRT_INIT -finhibit-size-directive -fno-inline-functions \
51
         -g0 -c $(srcdir)/config/arc/initfini.c -o $(T)crtinit.o
52
 
53
$(T)crtfini.o: $(srcdir)/config/arc/initfini.c $(GCC_PASSES) $(CONFIG_H)
54
        $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(CRTSTUFF_T_CFLAGS) \
55
         -DCRT_FINI $(MULTILIB_CFLAGS) -finhibit-size-directive -fno-inline-functions \
56
         -g0 -c $(srcdir)/config/arc/initfini.c -o $(T)crtfini.o
57
 
58
MULTILIB_OPTIONS = EB
59
MULTILIB_DIRNAMES = be
60
EXTRA_MULTILIB_PARTS = crtinit.o crtfini.o

powered by: WebSVN 2.1.0

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