]> git.pld-linux.org Git - packages/gcc2.git/blame - gcc2-ppc-descriptions.patch
- move compressed patch to distfiles
[packages/gcc2.git] / gcc2-ppc-descriptions.patch
CommitLineData
43cb4b44
AM
1# DP: Add descriptions to rs6000.h and sysv4.h to quench warnings.
2# DP: by Franz Sirl
3
4Index: gcc/config/rs6000/rs6000.h
5--- rs6000.h 1999/06/09 15:59:37 1.49.4.1
6+++ gcc/config/rs6000/rs6000.h 1999/06/12 18:55:36
7@@ -352,46 +352,81 @@ extern int target_flags;
8 #endif
9
10 #define TARGET_SWITCHES \
11- {{"power", MASK_POWER | MASK_MULTIPLE | MASK_STRING}, \
12+ {{"power", MASK_POWER | MASK_MULTIPLE | MASK_STRING, \
13+ "Use POWER instruction set"}, \
14 {"power2", (MASK_POWER | MASK_MULTIPLE | MASK_STRING \
15- | MASK_POWER2)}, \
16- {"no-power2", - MASK_POWER2}, \
17+ | MASK_POWER2), \
18+ "Use POWER2 instruction set"}, \
19+ {"no-power2", - MASK_POWER2, \
20+ "Do not use POWER2 instruction set"}, \
21 {"no-power", - (MASK_POWER | MASK_POWER2 | MASK_MULTIPLE \
22- | MASK_STRING)}, \
23- {"powerpc", MASK_POWERPC}, \
24+ | MASK_STRING), \
25+ "Do not use POWER instruction set"}, \
26+ {"powerpc", MASK_POWERPC, \
27+ "Use PowerPC instruction set"}, \
28 {"no-powerpc", - (MASK_POWERPC | MASK_PPC_GPOPT \
29- | MASK_PPC_GFXOPT | MASK_POWERPC64)}, \
30- {"powerpc-gpopt", MASK_POWERPC | MASK_PPC_GPOPT}, \
31- {"no-powerpc-gpopt", - MASK_PPC_GPOPT}, \
32- {"powerpc-gfxopt", MASK_POWERPC | MASK_PPC_GFXOPT}, \
33- {"no-powerpc-gfxopt", - MASK_PPC_GFXOPT}, \
34- {"powerpc64", MASK_POWERPC64}, \
35- {"no-powerpc64", - MASK_POWERPC64}, \
36- {"new-mnemonics", MASK_NEW_MNEMONICS}, \
37- {"old-mnemonics", -MASK_NEW_MNEMONICS}, \
38+ | MASK_PPC_GFXOPT | MASK_POWERPC64), \
39+ "Do not use PowerPC instruction set"}, \
40+ {"powerpc-gpopt", MASK_POWERPC | MASK_PPC_GPOPT, \
41+ "Use PowerPC General Purpose group optional instructions"},\
42+ {"no-powerpc-gpopt", - MASK_PPC_GPOPT, \
43+ "Don't use PowerPC General Purpose group optional instructions"},\
44+ {"powerpc-gfxopt", MASK_POWERPC | MASK_PPC_GFXOPT, \
45+ "Use PowerPC Graphics group optional instructions"},\
46+ {"no-powerpc-gfxopt", - MASK_PPC_GFXOPT, \
47+ "Don't use PowerPC Graphics group optional instructions"},\
48+ {"powerpc64", MASK_POWERPC64, \
49+ "Use PowerPC-64 instruction set"}, \
50+ {"no-powerpc64", - MASK_POWERPC64, \
51+ "Don't use PowerPC-64 instruction set"}, \
52+ {"new-mnemonics", MASK_NEW_MNEMONICS, \
53+ "Use new mnemonics for PowerPC architecture"}, \
54+ {"old-mnemonics", -MASK_NEW_MNEMONICS, \
55+ "Use old mnemonics for PowerPC architecture"}, \
56 {"full-toc", - (MASK_NO_FP_IN_TOC | MASK_NO_SUM_IN_TOC \
57- | MASK_MINIMAL_TOC)}, \
58- {"fp-in-toc", - MASK_NO_FP_IN_TOC}, \
59- {"no-fp-in-toc", MASK_NO_FP_IN_TOC}, \
60- {"sum-in-toc", - MASK_NO_SUM_IN_TOC}, \
61- {"no-sum-in-toc", MASK_NO_SUM_IN_TOC}, \
62- {"minimal-toc", MASK_MINIMAL_TOC}, \
63- {"minimal-toc", - (MASK_NO_FP_IN_TOC | MASK_NO_SUM_IN_TOC)}, \
64- {"no-minimal-toc", - MASK_MINIMAL_TOC}, \
65- {"hard-float", - MASK_SOFT_FLOAT}, \
66- {"soft-float", MASK_SOFT_FLOAT}, \
67- {"multiple", MASK_MULTIPLE | MASK_MULTIPLE_SET}, \
68- {"no-multiple", - MASK_MULTIPLE}, \
69- {"no-multiple", MASK_MULTIPLE_SET}, \
70- {"string", MASK_STRING | MASK_STRING_SET}, \
71- {"no-string", - MASK_STRING}, \
72- {"no-string", MASK_STRING_SET}, \
73- {"update", - MASK_NO_UPDATE}, \
74- {"no-update", MASK_NO_UPDATE}, \
75- {"fused-madd", - MASK_NO_FUSED_MADD}, \
76- {"no-fused-madd", MASK_NO_FUSED_MADD}, \
77+ | MASK_MINIMAL_TOC), \
78+ "no description yet"}, \
79+ {"fp-in-toc", - MASK_NO_FP_IN_TOC, \
80+ "Place floating point constants in TOC"}, \
81+ {"no-fp-in-toc", MASK_NO_FP_IN_TOC, \
82+ "Don't place floating point constants in TOC"}, \
83+ {"sum-in-toc", - MASK_NO_SUM_IN_TOC, \
84+ "Place symbol+offset constants in TOC"}, \
85+ {"no-sum-in-toc", MASK_NO_SUM_IN_TOC, \
86+ "Don't place symbol+offset constants in TOC"}, \
87+ {"minimal-toc", MASK_MINIMAL_TOC, \
88+ "no description yet"}, \
89+ {"minimal-toc", - (MASK_NO_FP_IN_TOC | MASK_NO_SUM_IN_TOC), \
90+ "no description yet"}, \
91+ {"no-minimal-toc", - MASK_MINIMAL_TOC, \
92+ "no description yet"}, \
93+ {"hard-float", - MASK_SOFT_FLOAT, \
94+ "Use hardware fp"}, \
95+ {"soft-float", MASK_SOFT_FLOAT, \
96+ "Do not use hardware fp"}, \
97+ {"multiple", MASK_MULTIPLE | MASK_MULTIPLE_SET, \
98+ "Generate load/store multiple instructions"}, \
99+ {"no-multiple", - MASK_MULTIPLE, \
100+ "Do not generate load/store multiple instructions"},\
101+ {"no-multiple", MASK_MULTIPLE_SET, \
102+ "Do not generate load/store multiple instructions"},\
103+ {"string", MASK_STRING | MASK_STRING_SET, \
104+ "Generate string instructions for block moves"},\
105+ {"no-string", - MASK_STRING, \
106+ "Do not generate string instructions for block moves"},\
107+ {"no-string", MASK_STRING_SET, \
108+ "Do not generate string instructions for block moves"},\
109+ {"update", - MASK_NO_UPDATE, \
110+ "Generate load/store with update instructions"},\
111+ {"no-update", MASK_NO_UPDATE, \
112+ "Do not generate load/store with update instructions"},\
113+ {"fused-madd", - MASK_NO_FUSED_MADD, \
114+ "Generate fused multiply/add instructions"}, \
115+ {"no-fused-madd", MASK_NO_FUSED_MADD, \
116+ "Don't generate fused multiply/add instructions"},\
117 SUBTARGET_SWITCHES \
118- {"", TARGET_DEFAULT}}
119+ {"", TARGET_DEFAULT, \
120+ ""}}
121
122 #define TARGET_DEFAULT (MASK_POWER | MASK_MULTIPLE | MASK_STRING)
123
124@@ -449,13 +484,13 @@ extern enum processor_type rs6000_cpu;
125 #define SUBTARGET_OPTIONS
126 #endif
127
128-#define TARGET_OPTIONS \
129-{ \
130- {"cpu=", &rs6000_select[1].string}, \
131- {"tune=", &rs6000_select[2].string}, \
132- {"debug-", &rs6000_debug_name}, \
133- {"debug=", &rs6000_debug_name}, \
134- SUBTARGET_OPTIONS \
135+#define TARGET_OPTIONS \
136+{ \
137+ {"cpu=", &rs6000_select[1].string, "Use features of and schedule code for given CPU" },\
138+ {"tune=", &rs6000_select[2].string, "Schedule code for given CPU" }, \
139+ {"debug-", &rs6000_debug_name, "Enable debug output" }, \
140+ {"debug=", &rs6000_debug_name, "Enable debug output" }, \
141+ SUBTARGET_OPTIONS \
142 }
143
144 /* rs6000_select[0] is reserved for the default cpu defined via --with-cpu */
145Index: gcc/config/rs6000/sysv4.h
146--- sysv4.h 1999/05/28 02:46:56 1.19.4.1
147+++ gcc/config/rs6000/sysv4.h 1999/06/12 18:55:38
148@@ -66,39 +66,39 @@ extern enum rs6000_sdata_type rs6000_sda
149 the same as -mminimal-toc. */
150 #undef SUBTARGET_SWITCHES
151 #define SUBTARGET_SWITCHES \
152- { "bit-align", -MASK_NO_BITFIELD_TYPE }, \
153- { "no-bit-align", MASK_NO_BITFIELD_TYPE }, \
154- { "strict-align", MASK_STRICT_ALIGN }, \
155- { "no-strict-align", -MASK_STRICT_ALIGN }, \
156- { "relocatable", MASK_RELOCATABLE | MASK_MINIMAL_TOC | MASK_NO_FP_IN_TOC }, \
157- { "no-relocatable", -MASK_RELOCATABLE }, \
158- { "relocatable-lib", MASK_RELOCATABLE | MASK_MINIMAL_TOC | MASK_NO_FP_IN_TOC }, \
159- { "no-relocatable-lib", -MASK_RELOCATABLE }, \
160- { "little-endian", MASK_LITTLE_ENDIAN }, \
161- { "little", MASK_LITTLE_ENDIAN }, \
162- { "big-endian", -MASK_LITTLE_ENDIAN }, \
163- { "big", -MASK_LITTLE_ENDIAN }, \
164- { "no-toc", 0 }, \
165- { "toc", MASK_MINIMAL_TOC }, \
166- { "full-toc", MASK_MINIMAL_TOC }, \
167- { "prototype", MASK_PROTOTYPE }, \
168- { "no-prototype", -MASK_PROTOTYPE }, \
169- { "no-traceback", 0 }, \
170- { "eabi", MASK_EABI }, \
171- { "no-eabi", -MASK_EABI }, \
172- { "regnames", MASK_REGNAMES }, \
173- { "no-regnames", -MASK_REGNAMES }, \
174- { "sdata", 0 }, \
175- { "no-sdata", 0 }, \
176- { "sim", 0 }, \
177- { "ads", 0 }, \
178- { "yellowknife", 0 }, \
179- { "mvme", 0 }, \
180- { "emb", 0 }, \
181- { "solaris-cclib", 0 }, \
182- { "shlib", 0 }, \
183- EXTRA_SUBTARGET_SWITCHES \
184- { "newlib", 0 },
185+ { "bit-align", -MASK_NO_BITFIELD_TYPE, "Align to the base type of the bitfield." },\
186+ { "no-bit-align", MASK_NO_BITFIELD_TYPE, "Don't align to the base type of the bitfield." },\
187+ { "strict-align", MASK_STRICT_ALIGN, "Don't assume that unaligned accesses are handled by the system" },\
188+ { "no-strict-align", -MASK_STRICT_ALIGN, "Assume that unaligned accesses are handled by the system" },\
189+ { "relocatable", MASK_RELOCATABLE | MASK_MINIMAL_TOC | MASK_NO_FP_IN_TOC, "Produce code relocatable at runtime." },\
190+ { "no-relocatable", -MASK_RELOCATABLE, "Don't produce code relocatable at runtime." },\
191+ { "relocatable-lib", MASK_RELOCATABLE | MASK_MINIMAL_TOC | MASK_NO_FP_IN_TOC, "Produce code relocatable at runtime." },\
192+ { "no-relocatable-lib", -MASK_RELOCATABLE, "Don't produce code relocatable at runtime." },\
193+ { "little-endian", MASK_LITTLE_ENDIAN, "Produce little endian code." }, \
194+ { "little", MASK_LITTLE_ENDIAN, "Produce little endian code." }, \
195+ { "big-endian", -MASK_LITTLE_ENDIAN, "Produce big endian code." }, \
196+ { "big", -MASK_LITTLE_ENDIAN, "Produce big endian code." }, \
197+ { "no-toc", 0, "no description yet" }, \
198+ { "toc", MASK_MINIMAL_TOC, "no description yet" }, \
199+ { "full-toc", MASK_MINIMAL_TOC, "no description yet" }, \
200+ { "prototype", MASK_PROTOTYPE, "no description yet" }, \
201+ { "no-prototype", -MASK_PROTOTYPE, "no description yet" }, \
202+ { "no-traceback", 0, "no description yet" }, \
203+ { "eabi", MASK_EABI, "Use EABI." }, \
204+ { "no-eabi", -MASK_EABI, "Don't use EABI." }, \
205+ { "regnames", MASK_REGNAMES, "Use alternate register names." }, \
206+ { "no-regnames", -MASK_REGNAMES, "Don't use alternate register names." },\
207+ { "sdata", 0, "no description yet" }, \
208+ { "no-sdata", 0, "no description yet" }, \
209+ { "sim", 0, "Link with libsim.a, libc.a and sim-crt0.o." }, \
210+ { "ads", 0, "Link with libads.a, libc.a and crt0.o." }, \
211+ { "yellowknife", 0, "Link with libyk.a, libc.a and crt0.o." }, \
212+ { "mvme", 0, "Link with libmvme.a, libc.a and crt0.o." }, \
213+ { "emb", 0, "Set the PPC_EMB bit in the ELF flags header" }, \
214+ { "solaris-cclib", 0, "no description yet" }, \
215+ { "shlib", 0, "no description yet" }, \
216+ EXTRA_SUBTARGET_SWITCHES \
217+ { "newlib", 0, "no description yet" },
218
219 /* This is meant to be redefined in the host dependent files */
220 #define EXTRA_SUBTARGET_SWITCHES
221@@ -111,8 +111,8 @@ extern const char *rs6000_abi_name;
222 extern const char *rs6000_sdata_name;
223
224 #define SUBTARGET_OPTIONS \
225- { "call-", &rs6000_abi_name}, \
226- { "sdata=", &rs6000_sdata_name}
227+ { "call-", &rs6000_abi_name, "Select ABI calling convention." }, \
228+ { "sdata=", &rs6000_sdata_name, "Select method for sdata handling." }
229
230 /* Max # of bytes for variables to automatically be put into the .sdata
231 or .sdata2 sections. */
This page took 0.094255 seconds and 4 git commands to generate.