| 1 |
# Makefile fragment for building LIBGCC for the Renesas RX target. |
| 2 |
# Copyright (C) 2008-2025 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 = true |
| 32 |
ifeq ($(double_type_size),64) |
| 33 |
DPBIT = true |
| 34 |
endif |