1 1.1 mrg # Makefile fragment for building LIBGCC for the TI PRU processor. 2 1.1 mrg # Copyright (C) 2014-2020 Free Software Foundation, Inc. 3 1.1 mrg # Contributed by Dimitar Dimitrov <dimitar (a] dinux.eu> 4 1.1 mrg # 5 1.1 mrg # This file is part of GCC. 6 1.1 mrg # 7 1.1 mrg # GCC is free software; you can redistribute it and/or modify it 8 1.1 mrg # under the terms of the GNU General Public License as published 9 1.1 mrg # by the Free Software Foundation; either version 3, or (at your 10 1.1 mrg # option) any later version. 11 1.1 mrg # 12 1.1 mrg # GCC is distributed in the hope that it will be useful, but 13 1.1 mrg # WITHOUT ANY WARRANTY; without even the implied warranty of 14 1.1 mrg # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See 15 1.1 mrg # the GNU General Public License for more details. 16 1.1 mrg # 17 1.1 mrg # You should have received a copy of the GNU General Public 18 1.1 mrg # License along with GCC; see the file COPYING3. If not see 19 1.1 mrg # <http://www.gnu.org/licenses/>. 20 1.1 mrg 21 1.1 mrg # Note - we have separate versions of the lib2div<mode> files 22 1.1 mrg # as the functions are quite large and we do not want to pull 23 1.1 mrg # in unneeded division routines. 24 1.1 mrg 25 1.1 mrg LIB2ADD += \ 26 1.1 mrg $(srcdir)/config/pru/lib2divQI.c \ 27 1.1 mrg $(srcdir)/config/pru/lib2divHI.c \ 28 1.1 mrg $(srcdir)/config/pru/lib2divSI.c \ 29 1.1 mrg $(srcdir)/config/pru/lib2bitcountHI.c \ 30 1.1 mrg $(srcdir)/config/pru/mpyll.S \ 31 1.1 mrg $(srcdir)/config/pru/gef.c \ 32 1.1 mrg $(srcdir)/config/pru/gtf.c \ 33 1.1 mrg $(srcdir)/config/pru/lef.c \ 34 1.1 mrg $(srcdir)/config/pru/ltf.c \ 35 1.1 mrg $(srcdir)/config/pru/eqf.c \ 36 1.1 mrg $(srcdir)/config/pru/ged.c \ 37 1.1 mrg $(srcdir)/config/pru/gtd.c \ 38 1.1 mrg $(srcdir)/config/pru/led.c \ 39 1.1 mrg $(srcdir)/config/pru/ltd.c \ 40 1.1 mrg $(srcdir)/config/pru/eqd.c \ 41 1.1 mrg $(srcdir)/config/pru/asri.c 42 1.1 mrg 43 1.1 mrg HOST_LIBGCC2_CFLAGS += -Os -ffunction-sections -fdata-sections 44 1.1 mrg 45 1.1 mrg LIB2FUNCS_EXCLUDE = _muldi3 46 1.1 mrg 47 1.1 mrg SHLIB_MAPFILES += $(srcdir)/config/pru/libgcc-eabi.ver 48 1.1 mrg # Local Variables: 49 1.1 mrg # mode: Makefile 50 1.1 mrg # End: 51