1 |
282 |
jeremybenn |
# Copyright (C) 2002, 2003, 2006, 2007, 2008 Free Software Foundation, Inc.
|
2 |
|
|
#
|
3 |
|
|
# This file is part of GCC.
|
4 |
|
|
#
|
5 |
|
|
# GCC is free software; you can redistribute it and/or modify
|
6 |
|
|
# it under the terms of the GNU General Public License as published by
|
7 |
|
|
# the Free Software Foundation; either version 3, or (at your option)
|
8 |
|
|
# any later version.
|
9 |
|
|
#
|
10 |
|
|
# GCC is distributed in the hope that it will be useful,
|
11 |
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12 |
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
13 |
|
|
# GNU General Public License for more details.
|
14 |
|
|
#
|
15 |
|
|
# You should have received a copy of the GNU General Public License
|
16 |
|
|
# along with GCC; see the file COPYING3. If not see
|
17 |
|
|
# .
|
18 |
|
|
|
19 |
|
|
LIB1ASMSRC = xtensa/lib1funcs.asm
|
20 |
|
|
LIB1ASMFUNCS = _mulsi3 _divsi3 _modsi3 _udivsi3 _umodsi3 \
|
21 |
|
|
_umulsidi3 _clz _clzsi2 _ctzsi2 _ffssi2 \
|
22 |
|
|
_ashldi3 _ashrdi3 _lshrdi3 \
|
23 |
|
|
_negsf2 _addsubsf3 _mulsf3 _divsf3 _cmpsf2 _fixsfsi _fixsfdi \
|
24 |
|
|
_fixunssfsi _fixunssfdi _floatsisf _floatunsisf \
|
25 |
|
|
_floatdisf _floatundisf \
|
26 |
|
|
_negdf2 _addsubdf3 _muldf3 _divdf3 _cmpdf2 _fixdfsi _fixdfdi \
|
27 |
|
|
_fixunsdfsi _fixunsdfdi _floatsidf _floatunsidf \
|
28 |
|
|
_floatdidf _floatundidf \
|
29 |
|
|
_truncdfsf2 _extendsfdf2
|
30 |
|
|
|
31 |
|
|
LIB2FUNCS_EXTRA = $(srcdir)/config/xtensa/lib2funcs.S
|
32 |
|
|
LIB2ADDEH = $(srcdir)/config/xtensa/unwind-dw2-xtensa.c \
|
33 |
|
|
$(srcdir)/unwind-dw2-fde.c $(srcdir)/unwind-sjlj.c $(srcdir)/unwind-c.c
|
34 |
|
|
|
35 |
|
|
$(T)crti.o: $(srcdir)/config/xtensa/crti.asm $(GCC_PASSES)
|
36 |
|
|
$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(MULTILIB_CFLAGS) $(INCLUDES) \
|
37 |
|
|
-c -o $(T)crti.o -x assembler-with-cpp $(srcdir)/config/xtensa/crti.asm
|
38 |
|
|
$(T)crtn.o: $(srcdir)/config/xtensa/crtn.asm $(GCC_PASSES)
|
39 |
|
|
$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(MULTILIB_CFLAGS) $(INCLUDES) \
|
40 |
|
|
-c -o $(T)crtn.o -x assembler-with-cpp $(srcdir)/config/xtensa/crtn.asm
|
41 |
|
|
|
42 |
|
|
$(out_object_file): gt-xtensa.h
|