Mercurial > hg > CbC > CbC_gcc
comparison gcc/config/mmix/t-mmix @ 63:b7f97abdc517 gcc-4.6-20100522
update gcc from gcc-4.5.0 to gcc-4.6
author | ryoma <e075725@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 24 May 2010 12:47:05 +0900 |
parents | 77e2b8dfacca |
children | 04ced10e8804 |
comparison
equal
deleted
inserted
replaced
56:3c8a44c06a95 | 63:b7f97abdc517 |
---|---|
1 # Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. | 1 # Copyright (C) 2001, 2002, 2003, 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 |
18 | 18 |
19 # See "Target Fragment" in GCC info. That same order is used here. | 19 # See "Target Fragment" in GCC info. That same order is used here. |
20 | 20 |
21 TARGET_LIBGCC2_CFLAGS = -mlibfuncs -O2 | 21 TARGET_LIBGCC2_CFLAGS = -mlibfuncs -O2 |
22 | 22 |
23 EXTRA_MULTILIB_PARTS = crti.o crtn.o crtbegin.o crtend.o | |
24 | |
25 # We need to turn off some assumptions on normality for code in crtstuff.c | 23 # We need to turn off some assumptions on normality for code in crtstuff.c |
26 # and crt{i,n}.asm, specifically about execution not continuing past the | 24 # and crt{i,n}.asm, specifically about execution not continuing past the |
27 # end of the section in the file being compiled. Thus we must stop the | 25 # end of the section in the file being compiled. Thus we must stop the |
28 # assembler from generating stubbable PUSHJ relocs, because that will add | 26 # assembler from generating stubbable PUSHJ relocs, because that will add |
29 # stubs at the end of the current section when necessary. | 27 # stubs at the end of the current section when necessary. |
30 CRTSTUFF_T_CFLAGS = -Wa,--no-stubs | 28 CRTSTUFF_T_CFLAGS = -Wa,--no-stubs |
31 | 29 |
32 MULTILIB_OPTIONS = mabi=gnu | 30 MULTILIB_OPTIONS = mabi=gnu |
33 MULTILIB_DIRNAMES = gnuabi | 31 MULTILIB_DIRNAMES = gnuabi |
34 | |
35 # Don't use global registers in libraries. | |
36 # FIXME: Not applied at "root" level, so disabled at the moment to stop | |
37 # incorrect comparisons with -mabi=gnu. | |
38 #MULTILIB_EXTRA_OPTS = mno-base-addresses | |
39 | |
40 $(T)crti.o: $(srcdir)/config/mmix/crti.asm $(GCC_PASSES) | |
41 $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(MULTILIB_CFLAGS) $(INCLUDES) \ | |
42 $(CRTSTUFF_T_CFLAGS) -c -o $(T)crti.o -x assembler-with-cpp \ | |
43 $(srcdir)/config/mmix/crti.asm | |
44 | |
45 $(T)crtn.o: $(srcdir)/config/mmix/crtn.asm $(GCC_PASSES) | |
46 $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(MULTILIB_CFLAGS) $(INCLUDES) \ | |
47 $(CRTSTUFF_T_CFLAGS) -c -o $(T)crtn.o -x assembler-with-cpp \ | |
48 $(srcdir)/config/mmix/crtn.asm |