Mercurial > hg > CbC > CbC_gcc
comparison gcc/config/score/t-score-elf @ 67:f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
author | nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 22 Mar 2011 17:18:12 +0900 |
parents | 77e2b8dfacca |
children |
comparison
equal
deleted
inserted
replaced
65:65488c3d617d | 67:f6334be47118 |
---|---|
1 # Copyright (C) 2006, 2007, 2008, 2009 Free Software Foundation, Inc. | 1 # Copyright (C) 2006, 2007, 2008, 2009, 2010 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 |
21 coretypes.h $(TM_H) $(RTL_H) output.h flags.h $(TREE_H) \ | 21 coretypes.h $(TM_H) $(RTL_H) output.h flags.h $(TREE_H) \ |
22 expr.h toplev.h $(TM_P_H) | 22 expr.h toplev.h $(TM_P_H) |
23 $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \ | 23 $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \ |
24 $(srcdir)/config/score/score7.c | 24 $(srcdir)/config/score/score7.c |
25 | 25 |
26 score3.o: $(srcdir)/config/score/score3.c $(CONFIG_H) $(SYSTEM_H) \ | |
27 coretypes.h $(TM_H) $(RTL_H) output.h flags.h $(TREE_H) \ | |
28 expr.h toplev.h $(TM_P_H) | |
29 $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \ | |
30 $(srcdir)/config/score/score3.c | |
31 | |
32 | |
33 # Assemble startup files. | 26 # Assemble startup files. |
34 $(T)crti.o: $(srcdir)/config/score/crti.asm $(GCC_PASSES) | 27 $(T)crti.o: $(srcdir)/config/score/crti.asm $(GCC_PASSES) |
35 $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(MULTILIB_CFLAGS) $(INCLUDES) \ | 28 $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(MULTILIB_CFLAGS) $(INCLUDES) \ |
36 -c -o $(T)crti.o -x assembler-with-cpp $(srcdir)/config/score/crti.asm | 29 -c -o $(T)crti.o -x assembler-with-cpp $(srcdir)/config/score/crti.asm |
37 | 30 |
38 $(T)crtn.o: $(srcdir)/config/score/crtn.asm $(GCC_PASSES) | 31 $(T)crtn.o: $(srcdir)/config/score/crtn.asm $(GCC_PASSES) |
39 $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(MULTILIB_CFLAGS) $(INCLUDES) \ | 32 $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(MULTILIB_CFLAGS) $(INCLUDES) \ |
40 -c -o $(T)crtn.o -x assembler-with-cpp $(srcdir)/config/score/crtn.asm | 33 -c -o $(T)crtn.o -x assembler-with-cpp $(srcdir)/config/score/crtn.asm |
41 | |
42 LIB1ASMSRC = score/mul-div.S | |
43 | |
44 LIB1ASMFUNCS = _mulsi3 _divsi3 _flush_cache | |
45 | |
46 FPBIT = fp-bit.c | |
47 DPBIT = dp-bit.c | |
48 | |
49 # If any special flags are necessary when building libgcc2 put them here. | |
50 TARGET_LIBGCC2_CFLAGS = -g | |
51 | |
52 fp-bit.c: $(srcdir)/config/fp-bit.c | |
53 echo '#define FLOAT' > fp-bit.c | |
54 cat $(srcdir)/config/fp-bit.c >> fp-bit.c | |
55 | |
56 dp-bit.c: $(srcdir)/config/fp-bit.c | |
57 cat $(srcdir)/config/fp-bit.c > dp-bit.c | |
58 | |
59 # We must build libgcc2.a with -G 0, in case the user wants to link | |
60 # without the $gp register. | |
61 TARGET_LIBGCC2_CFLAGS = -G 0 | |
62 | |
63 MULTILIB_OPTIONS = mscore3 mel | |
64 MULTILIB_MATCHES = mscore3=march?score3 | |
65 | |
66 EXTRA_MULTILIB_PARTS = crtbegin.o crtend.o crti.o crtn.o | |
67 | |
68 LIBGCC = stmp-multilib | |
69 INSTALL_LIBGCC = install-multilib | |
70 |