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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [libgcc/] [config/] [rx/] [t-rx] - Blame information for rev 854

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

Line No. Rev Author Line
1 272 jeremybenn
# Makefile fragment for building LIBGCC for the Renesas RX target.
2
# Copyright (C) 2008, 2009 Free Software Foundation, Inc.
3
# Contributed by Red Hat.
4
#
5
# This file is part of GCC.
6
#
7
# GCC is free software; you can redistribute it and/or modify it
8
# under the terms of the GNU General Public License as published
9
# by the Free Software Foundation; either version 3, or (at your
10
# option) any later version.
11
#
12
# GCC is distributed in the hope that it will be useful, but
13
# WITHOUT ANY WARRANTY; without even the implied warranty of
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.   See
15
# the GNU General Public License for more details.
16
#
17
# You should have received a copy of the  GNU General Public
18
# License along with GCC; see the file COPYING3.  If not see
19
# .
20
 
21
 
22
# Add functions required by the RX ABI which are not part of
23
# the normal libgcc sources:
24
 
25
LIB2ADD = $(srcdir)/config/rx/rx-abi-functions.c
26
 
27
 
28
# We need special handling of the floating point conversion
29
# routines, to allow for the varying size of a double:
30
 
31
FPBIT = fp-bit.c
32
$(gcc_objdir)/fp-bit.c: $(gcc_srcdir)/config/fp-bit.c
33
        echo '#define FLOAT'                 > $@
34
        echo '#ifndef __RX_64BIT_DOUBLES__' >> $@
35
        echo '#define DF SF'                >> $@
36
        echo '#define FLOAT_ONLY'           >> $@
37
        echo '#endif'                       >> $@
38
        cat $(gcc_srcdir)/config/fp-bit.c   >> $@
39
 
40
DPBIT = dp-bit.c
41
$(gcc_objdir)/dp-bit.c: $(gcc_srcdir)/config/fp-bit.c
42
        echo '#ifdef __RX_64BIT_DOUBLES__'   > $@
43
        cat $(gcc_srcdir)/config/fp-bit.c   >> $@
44
        echo '#endif'                       >> $@

powered by: WebSVN 2.1.0

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