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/] [i386/] [t-rtems-i386] - Blame information for rev 282

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 282 jeremybenn
# Copyright (C) 1999, 2001, 2002, 2005, 2007 Free Software Foundation, Inc.
2
#
3
# This file is part of GCC.
4
#
5
# GCC is free software; you can redistribute it and/or modify
6
# it under the terms of the GNU General Public License as published by
7
# the Free Software Foundation; either version 3, or (at your option)
8
# any later version.
9
#
10
# GCC is distributed in the hope that it will be useful,
11
# but WITHOUT ANY WARRANTY; without even the implied warranty of
12
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
# GNU General Public License for more details.
14
#
15
# You should have received a copy of the GNU General Public License
16
# along with GCC; see the file COPYING3.  If not see
17
# .
18
#
19
#
20
# This file was based on t-sol2 - x68 Solaris implementation. Actually,
21
# the source code to create crti.o anf crtn.o are exactly the same
22
# as the ones for Solaris. Later, we might want to have a RTEMS's
23
# version of these files.
24
#
25
 
26
$(T)crti.o: $(srcdir)/config/i386/sol2-ci.asm $(GCC_PASSES)
27
        sed -e '/^!/d' <$(srcdir)/config/i386/sol2-ci.asm >crti.s
28
        $(GCC_FOR_TARGET) -c -o $(T)crti.o crti.s
29
$(T)crtn.o: $(srcdir)/config/i386/sol2-cn.asm $(GCC_PASSES)
30
        sed -e '/^!/d' <$(srcdir)/config/i386/sol2-cn.asm >crtn.s
31
        $(GCC_FOR_TARGET) -c -o $(T)crtn.o crtn.s
32
 
33
# We want fine grained libraries, so use the new code to build the
34
# floating point emulation libraries.
35
FPBIT = fp-bit.c
36
DPBIT = dp-bit.c
37
 
38
LIB2FUNCS_EXTRA = xp-bit.c
39
 
40
dp-bit.c: $(srcdir)/config/fp-bit.c
41
        echo '#ifdef __LITTLE_ENDIAN__' > dp-bit.c
42
        echo '#define FLOAT_BIT_ORDER_MISMATCH' >>dp-bit.c
43
        echo '#endif'           >> dp-bit.c
44
        cat $(srcdir)/config/fp-bit.c >> dp-bit.c
45
 
46
fp-bit.c: $(srcdir)/config/fp-bit.c
47
        echo '#define FLOAT' > fp-bit.c
48
        echo '#ifdef __LITTLE_ENDIAN__' >> fp-bit.c
49
        echo '#define FLOAT_BIT_ORDER_MISMATCH' >>fp-bit.c
50
        echo '#endif'           >> fp-bit.c
51
        cat $(srcdir)/config/fp-bit.c >> fp-bit.c
52
 
53
xp-bit.c: $(srcdir)/config/fp-bit.c
54
        echo '#define EXTENDED_FLOAT_STUBS' > xp-bit.c
55
        cat $(srcdir)/config/fp-bit.c >> xp-bit.c
56
 
57
MULTILIB_OPTIONS = mtune=i486/mtune=pentium/mtune=pentiumpro \
58
msoft-float
59
MULTILIB_DIRNAMES= m486 mpentium mpentiumpro soft-float
60
MULTILIB_MATCHES = msoft-float=mno-m80387
61
MULTILIB_MATCHES += mtune?pentium=mtune?k6 mtune?pentiumpro=mtune?mathlon
62
MULTILIB_EXCEPTIONS = \
63
mtune=pentium/*msoft-float* \
64
mtune=pentiumpro/*msoft-float*
65
 
66
EXTRA_MULTILIB_PARTS = crtbegin.o crtend.o
67
 
68
LIBGCC = stmp-multilib
69
INSTALL_LIBGCC = install-multilib

powered by: WebSVN 2.1.0

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