Mercurial > hg > CbC > CbC_gcc
annotate gcc/config/rs6000/t-darwin @ 56:3c8a44c06a95
Added tag gcc-4.4.5 for changeset 77e2b8dfacca
author | ryoma <e075725@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 12 Feb 2010 23:41:23 +0900 |
parents | 77e2b8dfacca |
children |
rev | line source |
---|---|
55
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
1 # Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
2 # 2007 Free Software Foundation, Inc. |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
3 # |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
4 # This file is part of GCC. |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
5 # |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
6 # GCC is free software; you can redistribute it and/or modify |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
7 # it under the terms of the GNU General Public License as published by |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
8 # the Free Software Foundation; either version 3, or (at your option) |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
9 # any later version. |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
10 # |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
11 # GCC is distributed in the hope that it will be useful, |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
14 # GNU General Public License for more details. |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
15 # |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
16 # You should have received a copy of the GNU General Public License |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
17 # along with GCC; see the file COPYING3. If not see |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
18 # <http://www.gnu.org/licenses/>. |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
19 |
0 | 20 LIB2FUNCS_EXTRA = $(srcdir)/config/rs6000/darwin-tramp.asm \ |
21 $(srcdir)/config/rs6000/ppc64-fp.c \ | |
22 $(srcdir)/config/darwin-64.c \ | |
23 $(srcdir)/config/rs6000/darwin-ldouble.c \ | |
24 $(srcdir)/config/rs6000/darwin-world.asm | |
25 | |
26 LIB2FUNCS_STATIC_EXTRA = \ | |
27 $(srcdir)/config/rs6000/darwin-fpsave.asm \ | |
28 $(srcdir)/config/rs6000/darwin-vecsave.asm | |
29 | |
30 DARWIN_EXTRA_CRT_BUILD_CFLAGS = -mlongcall -mmacosx-version-min=10.4 | |
31 | |
32 # The .asm files above are designed to run on all processors, | |
33 # even though they use AltiVec instructions. -Wa is used because | |
34 # -force_cpusubtype_ALL doesn't work with -dynamiclib. | |
35 # | |
36 # -pipe because there's an assembler bug, 4077127, which causes | |
37 # it to not properly process the first # directive, causing temporary | |
38 # file names to appear in stabs, causing the bootstrap to fail. Using -pipe | |
39 # works around this by not having any temporary file names. | |
40 TARGET_LIBGCC2_CFLAGS = -Wa,-force_cpusubtype_ALL -pipe -mmacosx-version-min=10.4 | |
41 | |
42 # Export the _xlq* symbols from darwin-ldouble.c. | |
43 SHLIB_MAPFILES += $(srcdir)/config/rs6000/libgcc-ppc64.ver | |
44 | |
45 LIB2ADDEH += $(srcdir)/config/rs6000/darwin-fallback.c | |
46 | |
47 darwin-fpsave.o: $(srcdir)/config/rs6000/darwin-asm.h | |
48 darwin-tramp.o: $(srcdir)/config/rs6000/darwin-asm.h | |
49 | |
50 # Explain how to build crt2.o | |
51 $(T)crt2$(objext): $(srcdir)/config/darwin-crt2.c $(GCC_PASSES) \ | |
52 $(TCONFIG_H) stmp-int-hdrs tsystem.h | |
53 $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(MULTILIB_CFLAGS) \ | |
54 $(DARWIN_EXTRA_CRT_BUILD_CFLAGS) \ | |
55 -c $(srcdir)/config/darwin-crt2.c -o $(T)crt2$(objext) |