xref: /netbsd-src/external/gpl3/gcc/dist/libgcc/config/epiphany/t-epiphany (revision b1e838363e3c6fc78a55519254d99869742dd33c)
1# Copyright (C) 1997-2022 Free Software Foundation, Inc.
2# Contributed by Embecosm on behalf of Adapteva, Inc.
3#
4# This file is part of GCC.
5#
6# GCC is free software; you can redistribute it and/or modify
7# it under the terms of the GNU General Public License as published by
8# the Free Software Foundation; either version 3, or (at your option)
9# any later version.
10#
11# GCC is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY; without even the implied warranty of
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14# GNU General Public License for more details.
15#
16# You should have received a copy of the GNU General Public License
17# along with GCC; see the file COPYING3.  If not see
18# <http://www.gnu.org/licenses/>.
19
20LIB2ADD_ST = $(srcdir)/config/epiphany/modsi3-float.S \
21	     $(srcdir)/config/epiphany/divsi3-float.S \
22	     $(srcdir)/config/epiphany/udivsi3-float.S \
23	     $(srcdir)/config/epiphany/umodsi3-float.S \
24	     $(srcdir)/config/epiphany/ieee-754/eqsf2.S \
25	     $(srcdir)/config/epiphany/ieee-754/gtesf2.S \
26	     $(srcdir)/config/epiphany/ieee-754/ordsf2.S \
27	     $(srcdir)/config/epiphany/ieee-754/uneqsf2.S \
28	     $(srcdir)/config/epiphany/ieee-754/fast_div.S
29
30# .init/.fini section routines
31
32crtint.o crtrunc.o crtm1reg-r43.o crtm1reg-r63.o : \
33  %.o: $(srcdir)/config/epiphany/%.S $(GCC_PASSES) $(CONFIG_H)
34	$(crt_compile) -c -x assembler-with-cpp $<
35