52a1ff8bc1
* config/rl78/divmodhi.S: Add support for the G10 architecture. Use START_FUNC and END_FUNC macros to enable linker garbage collection. * config/rl78/divmodqi.S: Likewise. * config/rl78/divmodsi.S: Likewise. * config/rl78/mulsi3.S: Likewise. * config/rl78/lib2div.c: Remove G10 functions. * config/rl78/lib2muls.c: Likewise. * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define. * config/rl78/vregs.h (START_FUNC): New macro. (END_FUNC): New macro. From-SVN: r217463
35 lines
1.2 KiB
Plaintext
35 lines
1.2 KiB
Plaintext
# Makefile fragment for building LIBGCC for the Renesas RL78 target.
|
|
# Copyright (C) 2011-2014 Free Software Foundation, Inc.
|
|
# Contributed by Red Hat.
|
|
#
|
|
# This file is part of GCC.
|
|
#
|
|
# GCC is free software; you can redistribute it and/or modify it
|
|
# under the terms of the GNU General Public License as published
|
|
# by the Free Software Foundation; either version 3, or (at your
|
|
# option) any later version.
|
|
#
|
|
# GCC is distributed in the hope that it will be useful, but
|
|
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
|
|
# the GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public
|
|
# License along with GCC; see the file COPYING3. If not see
|
|
# <http://www.gnu.org/licenses/>.
|
|
|
|
LIB2ADD = \
|
|
$(srcdir)/config/rl78/trampoline.S \
|
|
$(srcdir)/config/rl78/lib2div.c \
|
|
$(srcdir)/config/rl78/lib2mul.c \
|
|
$(srcdir)/config/rl78/lib2shift.c \
|
|
$(srcdir)/config/rl78/lshrsi3.S \
|
|
$(srcdir)/config/rl78/mulsi3.S \
|
|
$(srcdir)/config/rl78/divmodsi.S \
|
|
$(srcdir)/config/rl78/divmodhi.S \
|
|
$(srcdir)/config/rl78/divmodqi.S \
|
|
$(srcdir)/config/rl78/signbit.S \
|
|
$(srcdir)/config/rl78/cmpsi2.S
|
|
|
|
HOST_LIBGCC2_CFLAGS += -Os -ffunction-sections -fdata-sections
|