]>
Commit | Line | Data |
---|---|---|
0c44645a | 1 | ; Processor-independent options for Darwin. |
2 | ||
f1717362 | 3 | ; Copyright (C) 2005-2016 Free Software Foundation, Inc. |
0c44645a | 4 | ; |
5 | ; This file is part of GCC. | |
6 | ; | |
7 | ; GCC is free software; you can redistribute it and/or modify it under | |
8 | ; the terms of the GNU General Public License as published by the Free | |
038d1e19 | 9 | ; Software Foundation; either version 3, or (at your option) any later |
0c44645a | 10 | ; version. |
11 | ; | |
12 | ; GCC is distributed in the hope that it will be useful, but WITHOUT ANY | |
13 | ; WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
14 | ; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
15 | ; for more details. | |
16 | ; | |
17 | ; You should have received a copy of the GNU General Public License | |
038d1e19 | 18 | ; along with GCC; see the file COPYING3. If not see |
19 | ; <http://www.gnu.org/licenses/>. | |
0c44645a | 20 | |
2c2747c3 | 21 | ; Various linker options have a -Z added so that they can get to specs |
22 | ; processing without interference. Note that an option name with a | |
23 | ; prefix that matches another option name, that also takes an | |
24 | ; argument, being mapped to a -Z linker option, needs to be modified | |
25 | ; so the prefix is different, otherwise a '*' after the shorter option | |
26 | ; will match with the longer one. | |
27 | ||
28 | all_load | |
29 | Driver Alias(Zall_load) | |
30 | ||
31 | allowable_client | |
32 | Driver Separate Alias(Zallowable_client) | |
33 | ||
22db0e0c | 34 | arch |
35 | Driver RejectNegative Separate | |
36 | ||
2c2747c3 | 37 | arch_errors_fatal |
38 | Driver Alias(Zarch_errors_fatal) | |
39 | ||
40 | bind_at_load | |
41 | Driver Alias(Zbind_at_load) | |
42 | ||
43 | bundle | |
44 | Driver Alias(Zbundle) | |
45 | ||
46 | bundle_loader | |
47 | Driver Separate Alias(Zbundle_loader) | |
48 | ||
49 | dead_strip | |
50 | Driver Alias(Zdead_strip) | |
51 | ||
52 | dependency-file | |
53 | C ObjC C++ ObjC++ Separate Alias(MF) MissingArgError(missing filename after %qs) | |
54 | ||
55 | dylib_file | |
56 | Driver Separate Alias(Zdylib_file) | |
57 | ||
a375de9b | 58 | dylinker |
59 | Driver | |
60 | ||
2c2747c3 | 61 | dynamic |
62 | Driver Alias(Zdynamic) | |
63 | ||
64 | dynamiclib | |
65 | Driver Alias(Zdynamiclib) | |
66 | ||
67 | exported_symbols_list | |
68 | Driver Separate Alias(Zexported_symbols_list) | |
69 | ||
70 | filelist | |
71 | Driver RejectNegative Separate | |
72 | ||
73 | findirect-virtual-calls | |
74 | Driver RejectNegative | |
75 | ||
76 | flat_namespace | |
77 | Driver RejectNegative Alias(Zflat_namespace) | |
78 | ||
79 | force_cpusubtype_ALL | |
80 | Driver RejectNegative Alias(Zforce_cpusubtype_ALL) | |
81 | ||
82 | force_flat_namespace | |
83 | Driver RejectNegative Alias(Zforce_flat_namespace) | |
84 | ||
85 | framework | |
86 | Driver RejectNegative Separate | |
87 | ||
88 | fterminated-vtables | |
89 | Driver RejectNegative | |
90 | ||
91 | gfull | |
92 | Driver | |
93 | ||
94 | gused | |
95 | Driver | |
96 | ||
a375de9b | 97 | headerpad_max_install_names |
98 | Driver | |
99 | ||
2c2747c3 | 100 | image_base |
101 | Driver Separate Alias(Zimage_base) | |
102 | ||
103 | init | |
104 | Driver Separate Alias(Zinit) | |
105 | ||
106 | install_name | |
107 | Driver Separate Alias(Zinstall_name) | |
108 | ||
a375de9b | 109 | keep_private_externs |
110 | Driver | |
111 | ||
d4238e8b | 112 | mconstant-cfstrings |
113 | Target Report Var(darwin_constant_cfstrings) Init(1) | |
8fb42bbc | 114 | Generate compile-time CFString objects. |
d4238e8b | 115 | |
2c2747c3 | 116 | multi_module |
117 | Driver RejectNegative Alias(Zmulti_module) | |
118 | ||
119 | multiply_defined | |
120 | Driver RejectNegative Separate Alias(Zmultiply_defined) | |
121 | ||
122 | multiply_defined_unused | |
123 | Driver RejectNegative Separate Alias(Zmultiplydefinedunused) | |
124 | ||
125 | no_dead_strip_inits_and_terms | |
126 | Driver Alias(Zno_dead_strip_inits_and_terms) | |
127 | ||
a375de9b | 128 | nofixprebinding |
129 | Driver | |
130 | ||
131 | nomultidefs | |
132 | Driver | |
133 | ||
134 | noprebind | |
135 | Driver | |
136 | ||
137 | noseglinkedit | |
138 | Driver | |
139 | ||
140 | object | |
141 | Driver | |
142 | ||
143 | prebind | |
144 | Driver | |
145 | ||
146 | prebind_all_twolevel_modules | |
147 | Driver | |
148 | ||
149 | preload | |
150 | Driver | |
151 | ||
152 | private_bundle | |
153 | Driver | |
154 | ||
155 | pthread | |
156 | Driver | |
157 | ||
182d4990 | 158 | rdynamic |
159 | Driver | |
160 | ||
2c2747c3 | 161 | seg_addr_table |
162 | Driver Separate Alias(Zseg_addr_table) | |
163 | ||
164 | seg_addr_table_filename | |
165 | Driver Separate Alias(Zfn_seg_addr_table_filename) | |
166 | ||
167 | segaddr | |
168 | Driver Separate Args(2) Alias(Zsegaddr) | |
169 | ||
a375de9b | 170 | seglinkedit |
171 | Driver | |
172 | ||
2c2747c3 | 173 | segs_read_only_addr |
174 | Driver Separate Alias(Zsegs_read_only_addr) | |
175 | ||
176 | segs_read_write_addr | |
177 | Driver Separate Alias(Zsegs_read_write_addr) | |
178 | ||
179 | single_module | |
180 | Driver Alias(Zsingle_module) | |
181 | ||
a375de9b | 182 | twolevel_namespace |
183 | Driver | |
184 | ||
185 | twolevel_namespace_hints | |
186 | Driver | |
187 | ||
2c2747c3 | 188 | umbrella |
189 | Driver Separate Alias(Zumbrella) | |
190 | ||
191 | unexported_symbols_list | |
192 | Driver Separate Alias(Zunexported_symbols_list) | |
193 | ||
194 | weak_reference_mismatches | |
195 | Driver Separate Alias(Zweak_reference_mismatches) | |
196 | ||
a375de9b | 197 | whatsloaded |
198 | Driver | |
199 | ||
200 | whyload | |
201 | Driver | |
202 | ||
203 | y | |
204 | Driver Joined | |
205 | ||
206 | Mach | |
207 | Driver | |
208 | ||
d4238e8b | 209 | Wnonportable-cfstrings |
210 | Target Report Var(darwin_warn_nonportable_cfstrings) Init(1) Warning | |
8fb42bbc | 211 | Warn if constant CFString objects contain non-portable characters. |
d4238e8b | 212 | |
90ff10b3 | 213 | ; Use new-style pic stubs if this is true, x86 only so far. |
214 | matt-stubs | |
215 | Target Report Var(darwin_macho_att_stub) Init(1) | |
8fb42bbc | 216 | Generate AT&T-style stubs for Mach-O. |
90ff10b3 | 217 | |
218 | mdynamic-no-pic | |
219 | Target Common Report Mask(MACHO_DYNAMIC_NO_PIC) | |
8fb42bbc | 220 | Generate code suitable for executables (NOT shared libs). |
90ff10b3 | 221 | |
0c44645a | 222 | mfix-and-continue |
223 | Target Report Var(darwin_fix_and_continue) | |
8fb42bbc | 224 | Generate code suitable for fast turn around debugging. |
9b1f316f | 225 | |
80fcd515 | 226 | ; The Init here is for the convenience of GCC developers, so that cc1 |
227 | ; and cc1plus don't crash if no -mmacosx-version-min is passed. The | |
228 | ; driver will always pass a -mmacosx-version-min, so in normal use the | |
fb296c25 | 229 | ; Init is never used. |
9b1f316f | 230 | mmacosx-version-min= |
fb296c25 | 231 | Target Joined Report Var(darwin_macosx_version_min) Init(DEF_MIN_OSX_VERSION) |
8fb42bbc | 232 | The earliest MacOS X version on which this program will run. |
9b1f316f | 233 | |
234 | mone-byte-bool | |
235 | Target RejectNegative Report Var(darwin_one_byte_bool) | |
8fb42bbc | 236 | Set sizeof(bool) to 1. |
5b182752 | 237 | |
238 | fapple-kext | |
2775d4b5 | 239 | Target Report C++ Var(flag_apple_kext) |
8fb42bbc | 240 | Generate code for darwin loadable kernel extensions. |
5b182752 | 241 | |
242 | mkernel | |
243 | Target Report Var(flag_mkernel) | |
8fb42bbc | 244 | Generate code for the kernel or loadable kernel extensions. |
b9fc964a | 245 | |
246 | iframework | |
247 | Target RejectNegative C ObjC C++ ObjC++ Joined Separate | |
8fb42bbc | 248 | -iframework <dir> Add <dir> to the end of the system framework include path. |
28d51ed4 | 249 | |
a375de9b | 250 | X |
251 | Driver | |
252 | ||
2c2747c3 | 253 | Zall_load |
254 | Driver | |
255 | ||
13c30464 | 256 | Zallowable_client |
257 | Driver Separate | |
258 | ||
2c2747c3 | 259 | Zarch_errors_fatal |
260 | Driver | |
261 | ||
262 | Zbind_at_load | |
263 | Driver | |
264 | ||
265 | Zbundle | |
266 | Driver | |
267 | ||
13c30464 | 268 | Zbundle_loader |
269 | Driver Separate | |
270 | ||
2c2747c3 | 271 | Zdead_strip |
272 | Driver | |
273 | ||
13c30464 | 274 | Zdylib_file |
275 | Driver Separate | |
276 | ||
2c2747c3 | 277 | Zdynamic |
278 | Driver | |
279 | ||
280 | Zdynamiclib | |
281 | Driver | |
282 | ||
13c30464 | 283 | Zexported_symbols_list |
284 | Driver Separate | |
285 | ||
286 | Zfn_seg_addr_table_filename | |
287 | Driver Separate | |
288 | ||
2c2747c3 | 289 | Zflat_namespace |
290 | Driver | |
291 | ||
292 | Zforce_cpusubtype_ALL | |
293 | Driver | |
294 | ||
295 | Zforce_flat_namespace | |
296 | Driver | |
297 | ||
13c30464 | 298 | Zimage_base |
299 | Driver Separate | |
300 | ||
301 | Zinit | |
302 | Driver Separate | |
303 | ||
304 | Zinstall_name | |
305 | Driver Separate | |
306 | ||
2c2747c3 | 307 | Zmulti_module |
308 | Driver | |
309 | ||
13c30464 | 310 | Zmultiply_defined |
311 | Driver Separate | |
312 | ||
313 | Zmultiplydefinedunused | |
314 | Driver Separate | |
315 | ||
2c2747c3 | 316 | Zno_dead_strip_inits_and_terms |
317 | Driver | |
318 | ||
13c30464 | 319 | Zseg_addr_table |
320 | Driver Separate | |
321 | ||
e2028bfa | 322 | Zsegaddr |
323 | Driver Separate Args(2) | |
324 | ||
13c30464 | 325 | Zsegs_read_only_addr |
326 | Driver Separate | |
327 | ||
328 | Zsegs_read_write_addr | |
329 | Driver Separate | |
330 | ||
2c2747c3 | 331 | Zsingle_module |
332 | Driver | |
333 | ||
13c30464 | 334 | Zumbrella |
335 | Driver Separate | |
336 | ||
337 | Zunexported_symbols_list | |
338 | Driver Separate | |
339 | ||
340 | Zweak_reference_mismatches | |
341 | Driver Separate | |
342 | ||
343 | client_name | |
344 | Driver Separate | |
345 | ||
346 | compatibility_version | |
347 | Driver Separate | |
348 | ||
349 | current_version | |
350 | Driver Separate | |
351 | ||
352 | dylinker_install_name | |
353 | Driver Separate | |
354 | ||
355 | pagezero_size | |
356 | Driver Separate | |
357 | ||
358 | read_only_relocs | |
359 | Driver Separate | |
360 | ||
e2028bfa | 361 | sectalign |
362 | Driver Separate Args(3) | |
363 | ||
364 | sectcreate | |
365 | Driver Separate Args(3) | |
366 | ||
367 | sectobjectsymbols | |
368 | Driver Separate Args(2) | |
369 | ||
370 | sectorder | |
371 | Driver Separate Args(3) | |
372 | ||
13c30464 | 373 | seg1addr |
374 | Driver Separate | |
375 | ||
e2028bfa | 376 | segcreate |
377 | Driver Separate Args(3) | |
378 | ||
379 | segprot | |
380 | Driver Separate Args(3) | |
381 | ||
13c30464 | 382 | segs_read_only_addr |
383 | Driver Separate | |
384 | ||
385 | segs_read_write_addr | |
386 | Driver Separate | |
387 | ||
388 | sub_library | |
389 | Driver Separate | |
390 | ||
391 | sub_umbrella | |
392 | Driver Separate | |
393 | ||
28d51ed4 | 394 | undefined |
395 | Driver Separate |