Mercurial > hg > CbC > CbC_gcc
comparison libgcc/config/rx/t-rx @ 55:77e2b8dfacca gcc-4.4.5
update it from 4.4.3 to 4.5.0
author | ryoma <e075725@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 12 Feb 2010 23:39:51 +0900 |
parents | |
children | 04ced10e8804 |
comparison
equal
deleted
inserted
replaced
52:c156f1bd5cd9 | 55:77e2b8dfacca |
---|---|
1 # 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 # <http://www.gnu.org/licenses/>. | |
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' >> $@ |