comparison gcc/config/bfin/t-bfin-uclinux @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents 77e2b8dfacca
children 84e7813d76e9
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 # Copyright (C) 2007, 2008 Free Software Foundation, Inc. 1 # Copyright (C) 2007-2017 Free Software Foundation, Inc.
2 # 2 #
3 # This file is part of GCC. 3 # This file is part of GCC.
4 # 4 #
5 # GCC is free software; you can redistribute it and/or modify 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 6 # it under the terms of the GNU General Public License as published by
15 # You should have received a copy of the GNU General Public License 15 # You should have received a copy of the GNU General Public License
16 # along with GCC; see the file COPYING3. If not see 16 # along with GCC; see the file COPYING3. If not see
17 # <http://www.gnu.org/licenses/>. 17 # <http://www.gnu.org/licenses/>.
18 18
19 ## Target part of the Makefile 19 ## Target part of the Makefile
20
21 LIB1ASMSRC = bfin/lib1funcs.asm
22 LIB1ASMFUNCS = _divsi3 _udivsi3 _umodsi3 _modsi3 _umulsi3_highpart
23 LIB1ASMFUNCS += _smulsi3_highpart
24
25 FPBIT = fp-bit.c
26 DPBIT = dp-bit.c
27
28 dp-bit.c: $(srcdir)/config/fp-bit.c
29 cat $(srcdir)/config/fp-bit.c > dp-bit.c
30
31 fp-bit.c: $(srcdir)/config/fp-bit.c
32 echo '#define FLOAT' > fp-bit.c
33 cat $(srcdir)/config/fp-bit.c >> fp-bit.c
34
35 CRTSTUFF_T_CFLAGS = -fpic
36 TARGET_LIBGCC2_CFLAGS = -fpic
37 20
38 MULTILIB_OPTIONS=mcpu=bf532-none 21 MULTILIB_OPTIONS=mcpu=bf532-none
39 MULTILIB_OPTIONS+=mid-shared-library/msep-data mleaf-id-shared-library 22 MULTILIB_OPTIONS+=mid-shared-library/msep-data mleaf-id-shared-library
40 MULTILIB_DIRNAMES=bf532-none mid-shared-library msep-data mleaf-id-shared-library 23 MULTILIB_DIRNAMES=bf532-none mid-shared-library msep-data mleaf-id-shared-library
41 24
56 MULTILIB_MATCHES+=mcpu?bf532-none=mcpu?bf548-none 39 MULTILIB_MATCHES+=mcpu?bf532-none=mcpu?bf548-none
57 MULTILIB_MATCHES+=mcpu?bf532-none=mcpu?bf548m-none 40 MULTILIB_MATCHES+=mcpu?bf532-none=mcpu?bf548m-none
58 MULTILIB_MATCHES+=mcpu?bf532-none=mcpu?bf549-none 41 MULTILIB_MATCHES+=mcpu?bf532-none=mcpu?bf549-none
59 MULTILIB_MATCHES+=mcpu?bf532-none=mcpu?bf549m-none 42 MULTILIB_MATCHES+=mcpu?bf532-none=mcpu?bf549m-none
60 MULTILIB_MATCHES+=mcpu?bf532-none=mcpu?bf561-none 43 MULTILIB_MATCHES+=mcpu?bf532-none=mcpu?bf561-none
44 MULTILIB_MATCHES+=mcpu?bf532-none=mcpu?bf592-none
61 45
62 MULTILIB_EXCEPTIONS=mleaf-id-shared-library* 46 MULTILIB_EXCEPTIONS=mleaf-id-shared-library*
63 MULTILIB_EXCEPTIONS+=mcpu=bf532-none/mleaf-id-shared-library* 47 MULTILIB_EXCEPTIONS+=mcpu=bf532-none/mleaf-id-shared-library*
64 MULTILIB_EXCEPTIONS+=*msep-data/mleaf-id-shared-library* 48 MULTILIB_EXCEPTIONS+=*msep-data/mleaf-id-shared-library*
65
66 # Assemble startup files.
67 $(T)crtlibid.o: $(srcdir)/config/bfin/crtlibid.s $(GCC_PASSES)
68 $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(MULTILIB_CFLAGS) $(INCLUDES) \
69 -c -o $(T)crtlibid.o -x assembler-with-cpp \
70 $(srcdir)/config/bfin/crtlibid.s
71
72 EXTRA_MULTILIB_PARTS = crtbegin.o crtend.o crtbeginS.o crtendS.o crtlibid.o