Mercurial > hg > CbC > CbC_gcc
comparison gcc/config/sol2.h @ 55:77e2b8dfacca gcc-4.4.5
update it from 4.4.3 to 4.5.0
author | ryoma <e075725@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 12 Feb 2010 23:39:51 +0900 |
parents | a06113de4d67 |
children | b7f97abdc517 |
comparison
equal
deleted
inserted
replaced
52:c156f1bd5cd9 | 55:77e2b8dfacca |
---|---|
1 /* Operating system specific defines to be used when targeting GCC for any | 1 /* Operating system specific defines to be used when targeting GCC for any |
2 Solaris 2 system. | 2 Solaris 2 system. |
3 Copyright 2002, 2003, 2004, 2007, 2008 Free Software Foundation, Inc. | 3 Copyright 2002, 2003, 2004, 2007, 2008, 2009 Free Software Foundation, Inc. |
4 | 4 |
5 This file is part of GCC. | 5 This file is part of GCC. |
6 | 6 |
7 GCC is free software; you can redistribute it and/or modify | 7 GCC is free software; you can redistribute it and/or modify |
8 it under the terms of the GNU General Public License as published by | 8 it under the terms of the GNU General Public License as published by |
36 #define WINT_TYPE "long int" | 36 #define WINT_TYPE "long int" |
37 | 37 |
38 #undef WINT_TYPE_SIZE | 38 #undef WINT_TYPE_SIZE |
39 #define WINT_TYPE_SIZE BITS_PER_WORD | 39 #define WINT_TYPE_SIZE BITS_PER_WORD |
40 | 40 |
41 #define TARGET_HANDLE_PRAGMA_REDEFINE_EXTNAME 1 | 41 #define SIG_ATOMIC_TYPE "int" |
42 | |
43 /* ??? This definition of int8_t follows the system header but does | |
44 not conform to C99. Likewise int_fast8_t, int_least8_t. */ | |
45 #define INT8_TYPE "char" | |
46 #define INT16_TYPE "short int" | |
47 #define INT32_TYPE "int" | |
48 #define INT64_TYPE (LONG_TYPE_SIZE == 64 ? "long int" : "long long int") | |
49 #define UINT8_TYPE "unsigned char" | |
50 #define UINT16_TYPE "short unsigned int" | |
51 #define UINT32_TYPE "unsigned int" | |
52 #define UINT64_TYPE (LONG_TYPE_SIZE == 64 ? "long unsigned int" : "long long unsigned int") | |
53 | |
54 #define INT_LEAST8_TYPE "char" | |
55 #define INT_LEAST16_TYPE "short int" | |
56 #define INT_LEAST32_TYPE "int" | |
57 #define INT_LEAST64_TYPE (LONG_TYPE_SIZE == 64 ? "long int" : "long long int") | |
58 #define UINT_LEAST8_TYPE "unsigned char" | |
59 #define UINT_LEAST16_TYPE "short unsigned int" | |
60 #define UINT_LEAST32_TYPE "unsigned int" | |
61 #define UINT_LEAST64_TYPE (LONG_TYPE_SIZE == 64 ? "long unsigned int" : "long long unsigned int") | |
62 | |
63 #define INT_FAST8_TYPE "char" | |
64 #define INT_FAST16_TYPE "int" | |
65 #define INT_FAST32_TYPE "int" | |
66 #define INT_FAST64_TYPE (LONG_TYPE_SIZE == 64 ? "long int" : "long long int") | |
67 #define UINT_FAST8_TYPE "unsigned char" | |
68 #define UINT_FAST16_TYPE "unsigned int" | |
69 #define UINT_FAST32_TYPE "unsigned int" | |
70 #define UINT_FAST64_TYPE (LONG_TYPE_SIZE == 64 ? "long unsigned int" : "long long unsigned int") | |
71 | |
72 #define INTPTR_TYPE (LONG_TYPE_SIZE == 64 ? "long int" : "int") | |
73 #define UINTPTR_TYPE (LONG_TYPE_SIZE == 64 ? "long unsigned int" : "unsigned int") | |
42 | 74 |
43 /* ??? Note: in order for -compat-bsd to work fully, | 75 /* ??? Note: in order for -compat-bsd to work fully, |
44 we must somehow arrange to fixincludes /usr/ucbinclude | 76 we must somehow arrange to fixincludes /usr/ucbinclude |
45 and put the result in $(libsubdir)/ucbinclude. */ | 77 and put the result in $(libsubdir)/ucbinclude. */ |
46 | 78 |
121 #define LINK_ARCH32_SPEC_BASE \ | 153 #define LINK_ARCH32_SPEC_BASE \ |
122 "%{G:-G} \ | 154 "%{G:-G} \ |
123 %{YP,*} \ | 155 %{YP,*} \ |
124 %{R*} \ | 156 %{R*} \ |
125 %{compat-bsd: \ | 157 %{compat-bsd: \ |
126 %{!YP,*:%{p|pg:-Y P,/usr/ucblib:/usr/ccs/lib/libp:/usr/lib/libp:/usr/ccs/lib:/usr/lib} \ | 158 %{!YP,*:%{p|pg:-Y P,%R/usr/ucblib:%R/usr/ccs/lib/libp:%R/usr/lib/libp:%R/usr/ccs/lib:%R/usr/lib} \ |
127 %{!p:%{!pg:-Y P,/usr/ucblib:/usr/ccs/lib:/usr/lib}}} \ | 159 %{!p:%{!pg:-Y P,%R/usr/ucblib:%R/usr/ccs/lib:%R/usr/lib}}} \ |
128 -R /usr/ucblib} \ | 160 -R %R/usr/ucblib} \ |
129 %{!compat-bsd: \ | 161 %{!compat-bsd: \ |
130 %{!YP,*:%{p|pg:-Y P,/usr/ccs/lib/libp:/usr/lib/libp:/usr/ccs/lib:/usr/lib} \ | 162 %{!YP,*:%{p|pg:-Y P,%R/usr/ccs/lib/libp:%R/usr/lib/libp:%R/usr/ccs/lib:%R/usr/lib} \ |
131 %{!p:%{!pg:-Y P,/usr/ccs/lib:/usr/lib}}}}" | 163 %{!p:%{!pg:-Y P,%R/usr/ccs/lib:%R/usr/lib}}}}" |
132 | 164 |
133 #undef LINK_ARCH32_SPEC | 165 #undef LINK_ARCH32_SPEC |
134 #define LINK_ARCH32_SPEC LINK_ARCH32_SPEC_BASE | 166 #define LINK_ARCH32_SPEC LINK_ARCH32_SPEC_BASE |
135 | 167 |
136 #undef LINK_ARCH_SPEC | 168 #undef LINK_ARCH_SPEC |