]>
Commit | Line | Data |
---|---|---|
569dc494 | 1 | # Copyright (C) 2000, 2001, 2008, 2011 Free Software Foundation, Inc. |
ad41bd84 JM |
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 | # <http://www.gnu.org/licenses/>. | |
8f90be4c | 18 | |
8f90be4c NC |
19 | LIB1ASMSRC = mcore/lib1.asm |
20 | LIB1ASMFUNCS = _divsi3 _udivsi3 _modsi3 _umodsi3 | |
21 | ||
22 | # Assemble startup files. | |
23 | $(T)crti.o: $(srcdir)/config/mcore/crti.asm $(GCC_PASSES) | |
24 | $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(MULTILIB_CFLAGS) $(INCLUDES) \ | |
25 | -c -o $(T)crti.o -x assembler-with-cpp $(srcdir)/config/mcore/crti.asm | |
26 | ||
27 | $(T)crtn.o: $(srcdir)/config/mcore/crtn.asm $(GCC_PASSES) | |
28 | $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(MULTILIB_CFLAGS) $(INCLUDES) \ | |
29 | -c -o $(T)crtn.o -x assembler-with-cpp $(srcdir)/config/mcore/crtn.asm | |
30 | ||
8f90be4c NC |
31 | # could use -msifilter to be safe from interrupt/jmp interactions and others. |
32 | TARGET_LIBGCC2_CFLAGS=-O3 -DNO_FLOATLIB_FIXUNSDFSI #-msifilter | |
33 | ||
34 | # We have values for float.h. | |
35 | CROSS_FLOAT_H = $(srcdir)/config/mcore/gfloat.h | |
36 | ||
8f90be4c NC |
37 | # If support for -m4align is ever re-enabled then comment out the |
38 | # following line and uncomment the mutlilib lines below. | |
39 | ||
40 | EXTRA_PARTS = crtbegin.o crtend.o crti.o crtn.o | |
41 | ||
42 | # MULTILIB_OPTIONS = m8align/m4align | |
43 | # MULTILIB_DIRNAMES = align8 align4 | |
44 | # MULTILIB_MATCHES = | |
45 | # MULTILIB_EXTRA_OPTS = | |
46 | # MULTILIB_EXCEPTIONS = | |
47 | # EXTRA_MULTILIB_PARTS = crtbegin.o crtend.o crti.o crtn.o | |
48 | # LIBGCC = stmp-multilib | |
49 | # INSTALL_LIBGCC = install-multilib | |
50 | ||
51 | MULTILIB_OPTIONS = mbig-endian/mlittle-endian m210/m340 | |
52 | MULTILIB_DIRNAMES = big little m210 m340 | |
53 | ||
54 | EXTRA_PARTS = | |
55 | EXTRA_MULTILIB_PARTS = crtbegin.o crtend.o crti.o crtn.o | |
56 | LIBGCC = stmp-multilib | |
57 | INSTALL_LIBGCC = install-multilib |