Options.td revision 341825
1include "llvm/Option/OptParser.td"
2
3// For options whose names are multiple letters, either one dash or
4// two can precede the option name except those that start with 'o'.
5class F<string name>: Flag<["--", "-"], name>;
6class J<string name>: Joined<["--", "-"], name>;
7
8multiclass Eq<string name, string help> {
9  def NAME: Separate<["--", "-"], name>;
10  def NAME # _eq: Joined<["--", "-"], name # "=">, Alias<!cast<Separate>(NAME)>,
11    HelpText<help>;
12}
13
14multiclass B<string name, string help1, string help2> {
15  def NAME: Flag<["--", "-"], name>, HelpText<help1>;
16  def no_ # NAME: Flag<["--", "-"], "no-" # name>, HelpText<help2>;
17}
18
19defm auxiliary: Eq<"auxiliary", "Set DT_AUXILIARY field to the specified name">;
20
21def Bsymbolic: F<"Bsymbolic">, HelpText<"Bind defined symbols locally">;
22
23def Bsymbolic_functions: F<"Bsymbolic-functions">,
24  HelpText<"Bind defined function symbols locally">;
25
26def Bdynamic: F<"Bdynamic">, HelpText<"Link against shared libraries (default)">;
27
28def Bstatic: F<"Bstatic">, HelpText<"Do not link against shared libraries">;
29
30def build_id: F<"build-id">, HelpText<"Alias for --build-id=fast">;
31
32def build_id_eq: J<"build-id=">, HelpText<"Generate build ID note">,
33  MetaVarName<"[fast,md5,sha,uuid,0x<hexstring>]">;
34
35defm check_sections: B<"check-sections",
36    "Check section addresses for overlaps (default)",
37    "Do not check section addresses for overlaps">;
38
39defm compress_debug_sections:
40  Eq<"compress-debug-sections", "Compress DWARF debug sections">,
41  MetaVarName<"[none,zlib]">;
42
43defm defsym: Eq<"defsym", "Define a symbol alias">, MetaVarName<"<symbol>=<value>">;
44
45defm library_path:
46  Eq<"library-path", "Add a directory to the library search path">, MetaVarName<"<dir>">;
47
48def O: JoinedOrSeparate<["-"], "O">, HelpText<"Optimize output file size">;
49
50defm Tbss: Eq<"Tbss", "Same as --section-start with .bss as the sectionname">;
51
52defm Tdata: Eq<"Tdata", "Same as --section-start with .data as the sectionname">;
53
54defm Ttext: Eq<"Ttext", "Same as --section-start with .text as the sectionname">;
55
56defm allow_multiple_definition: B<"allow-multiple-definition",
57    "Allow multiple definitions",
58    "Do not allow multiple definitions (default)">;
59
60defm apply_dynamic_relocs: B<"apply-dynamic-relocs",
61    "Apply link-time values for dynamic relocations",
62    "Do not apply link-time values for dynamic relocations (default)">;
63
64defm as_needed: B<"as-needed",
65    "Only set DT_NEEDED for shared libraries if used",
66    "Always set DT_NEEDED for shared libraries (default)">;
67
68defm call_graph_ordering_file:
69  Eq<"call-graph-ordering-file", "Layout sections to optimize the given callgraph">;
70
71// -chroot doesn't have a help text because it is an internal option.
72def chroot: Separate<["--", "-"], "chroot">;
73
74def color_diagnostics: F<"color-diagnostics">,
75  HelpText<"Alias for --color-diagnostics=always">;
76
77def color_diagnostics_eq: J<"color-diagnostics=">,
78  HelpText<"Use colors in diagnostics">,
79  MetaVarName<"[auto,always,never]">;
80
81defm cref: B<"cref",
82    "Output cross reference table",
83    "Do not output cross reference table">;
84
85defm define_common: B<"define-common",
86    "Assign space to common symbols",
87    "Do not assign space to common symbols">;
88
89defm demangle: B<"demangle",
90    "Demangle symbol names (default)",
91    "Do not demangle symbol names">;
92
93def disable_new_dtags: F<"disable-new-dtags">,
94  HelpText<"Disable new dynamic tags">;
95
96def discard_all: F<"discard-all">, HelpText<"Delete all local symbols">;
97
98def discard_locals: F<"discard-locals">,
99  HelpText<"Delete temporary local symbols">;
100
101def discard_none: F<"discard-none">,
102  HelpText<"Keep all symbols in the symbol table">;
103
104defm dynamic_linker: Eq<"dynamic-linker", "Which dynamic linker to use">;
105
106defm dynamic_list: Eq<"dynamic-list", "Read a list of dynamic symbols">;
107
108defm eh_frame_hdr: B<"eh-frame-hdr",
109    "Request creation of .eh_frame_hdr section and PT_GNU_EH_FRAME segment header",
110    "Do not create .eh_frame_hdr section">;
111
112def emit_relocs: F<"emit-relocs">, HelpText<"Generate relocations in output">;
113
114def enable_new_dtags: F<"enable-new-dtags">,
115  HelpText<"Enable new dynamic tags (default)">;
116
117def end_group: F<"end-group">,
118  HelpText<"Ignored for compatibility with GNU unless you pass --warn-backrefs">;
119
120def end_lib: F<"end-lib">,
121  HelpText<"End a grouping of objects that should be treated as if they were together in an archive">;
122
123defm entry: Eq<"entry", "Name of entry point symbol">,
124  MetaVarName<"<entry>">;
125
126defm error_limit:
127  Eq<"error-limit", "Maximum number of errors to emit before stopping (0 = no limit)">;
128
129def error_unresolved_symbols: F<"error-unresolved-symbols">,
130  HelpText<"Report unresolved symbols as errors">;
131
132defm exclude_libs: Eq<"exclude-libs", "Exclude static libraries from automatic export">;
133
134defm execute_only: B<"execute-only",
135    "Do not mark executable sections readable",
136    "Mark executable sections readable (default)">;
137
138defm export_dynamic: B<"export-dynamic",
139    "Put symbols in the dynamic symbol table",
140    "Do not put symbols in the dynamic symbol table (default)">;
141
142defm export_dynamic_symbol:
143  Eq<"export-dynamic-symbol", "Put a symbol in the dynamic symbol table">;
144
145defm fatal_warnings: B<"fatal-warnings",
146    "Treat warnings as errors",
147    "Do not treat warnings as errors (default)">;
148
149defm filter: Eq<"filter", "Set DT_FILTER field to the specified name">;
150
151defm fini: Eq<"fini", "Specify a finalizer function">, MetaVarName<"<symbol>">;
152
153def fix_cortex_a53_843419: F<"fix-cortex-a53-843419">,
154  HelpText<"Apply fixes for AArch64 Cortex-A53 erratum 843419">;
155
156defm format: Eq<"format", "Change the input format of the inputs following this option">,
157  MetaVarName<"[default,elf,binary]">;
158
159defm gc_sections: B<"gc-sections",
160    "Enable garbage collection of unused sections",
161    "Disable garbage collection of unused sections (default)">;
162
163defm gdb_index: B<"gdb-index",
164    "Generate .gdb_index section",
165    "Do not generate .gdb_index section (default)">;
166
167defm gnu_unique: B<"gnu-unique",
168  "Enable STB_GNU_UNIQUE symbol binding (default)",
169  "Disable STB_GNU_UNIQUE symbol binding">;
170
171defm hash_style: Eq<"hash-style", "Specify hash style (sysv, gnu or both)">;
172
173def help: F<"help">, HelpText<"Print option help">;
174
175def icf_all: F<"icf=all">, HelpText<"Enable identical code folding">;
176
177def icf_safe: F<"icf=safe">, HelpText<"Enable safe identical code folding">;
178
179def icf_none: F<"icf=none">, HelpText<"Disable identical code folding (default)">;
180
181def ignore_function_address_equality: F<"ignore-function-address-equality">,
182  HelpText<"lld can break the address equality of functions">;
183
184def ignore_data_address_equality: F<"ignore-data-address-equality">,
185  HelpText<"lld can break the address equality of data">;
186
187defm image_base: Eq<"image-base", "Set the base address">;
188
189defm init: Eq<"init", "Specify an initializer function">,
190  MetaVarName<"<symbol>">;
191
192defm just_symbols: Eq<"just-symbols", "Just link symbols">;
193
194defm keep_unique: Eq<"keep-unique", "Do not fold this symbol during ICF">;
195
196defm library: Eq<"library", "Root name of library to use">,
197  MetaVarName<"<libName>">;
198
199def m: JoinedOrSeparate<["-"], "m">, HelpText<"Set target emulation">;
200
201defm Map: Eq<"Map", "Print a link map to the specified file">;
202
203defm merge_exidx_entries: B<"merge-exidx-entries",
204    "Enable merging .ARM.exidx entries (default)",
205    "Disable merging .ARM.exidx entries">;
206
207def nostdlib: F<"nostdlib">,
208  HelpText<"Only search directories specified on the command line">;
209
210def no_color_diagnostics: F<"no-color-diagnostics">,
211  HelpText<"Do not use colors in diagnostics">;
212
213def no_dynamic_linker: F<"no-dynamic-linker">,
214  HelpText<"Inhibit output of .interp section">;
215
216def noinhibit_exec: F<"noinhibit-exec">,
217  HelpText<"Retain the executable output file whenever it is still usable">;
218
219def no_omagic: F<"no-omagic">, MetaVarName<"<magic>">,
220  HelpText<"Do not set the text data sections to be writable">;
221
222def no_rosegment: F<"no-rosegment">,
223  HelpText<"Do not put read-only non-executable sections in their own segment">;
224
225def no_undefined: F<"no-undefined">,
226  HelpText<"Report unresolved symbols even if the linker is creating a shared library">;
227
228def o: JoinedOrSeparate<["-"], "o">, MetaVarName<"<path>">,
229  HelpText<"Path to file to write output">;
230
231def oformat: Separate<["--"], "oformat">, MetaVarName<"<format>">,
232  HelpText<"Specify the binary format for the output object file">;
233
234def omagic: Flag<["--"], "omagic">, MetaVarName<"<magic>">,
235  HelpText<"Set the text and data sections to be readable and writable">;
236
237defm orphan_handling:
238  Eq<"orphan-handling", "Control how orphan sections are handled when linker script used">;
239
240defm pack_dyn_relocs:
241  Eq<"pack-dyn-relocs", "Pack dynamic relocations in the given format">,
242  MetaVarName<"[none,android,relr,android+relr]">;
243
244defm use_android_relr_tags: B<"use-android-relr-tags",
245    "Use SHT_ANDROID_RELR / DT_ANDROID_RELR* tags instead of SHT_RELR / DT_RELR*",
246    "Use SHT_RELR / DT_RELR* tags (default)">;
247
248defm pie: B<"pie",
249    "Create a position independent executable",
250    "Do not create a position independent executable (default)">;
251
252defm print_gc_sections: B<"print-gc-sections",
253    "List removed unused sections",
254    "Do not list removed unused sections (default)">;
255
256defm print_icf_sections: B<"print-icf-sections",
257    "List identical folded sections",
258    "Do not list identical folded sections (default)">;
259
260def pop_state: F<"pop-state">,
261  HelpText<"Undo the effect of -push-state">;
262
263def push_state: F<"push-state">,
264  HelpText<"Save the current state of -as-needed, -static and -whole-archive">;
265
266def print_map: F<"print-map">,
267  HelpText<"Print a link map to the standard output">;
268
269defm reproduce: Eq<"reproduce", "Dump linker invocation and input files for debugging">;
270
271defm rpath: Eq<"rpath", "Add a DT_RUNPATH to the output">;
272
273def relocatable: F<"relocatable">, HelpText<"Create relocatable object file">;
274
275defm retain_symbols_file:
276  Eq<"retain-symbols-file", "Retain only the symbols listed in the file">,
277  MetaVarName<"<file>">;
278
279defm script: Eq<"script", "Read linker script">;
280
281defm section_start: Eq<"section-start", "Set address of section">,
282  MetaVarName<"<address>">;
283
284def shared: F<"shared">, HelpText<"Build a shared object">;
285
286defm soname: Eq<"soname", "Set DT_SONAME">;
287
288defm sort_section:
289  Eq<"sort-section", "Specifies sections sorting rule when linkerscript is used">;
290
291def start_group: F<"start-group">,
292  HelpText<"Ignored for compatibility with GNU unless you pass --warn-backrefs">;
293
294def start_lib: F<"start-lib">,
295  HelpText<"Start a grouping of objects that should be treated as if they were together in an archive">;
296
297def strip_all: F<"strip-all">, HelpText<"Strip all symbols">;
298
299def strip_debug: F<"strip-debug">, HelpText<"Strip debugging information">;
300
301defm symbol_ordering_file:
302  Eq<"symbol-ordering-file", "Layout sections to place symbols in the order specified by symbol ordering file">;
303
304defm sysroot: Eq<"sysroot", "Set the system root">;
305
306def target1_rel: F<"target1-rel">, HelpText<"Interpret R_ARM_TARGET1 as R_ARM_REL32">;
307
308def target1_abs: F<"target1-abs">, HelpText<"Interpret R_ARM_TARGET1 as R_ARM_ABS32 (default)">;
309
310defm target2:
311  Eq<"target2", "Interpret R_ARM_TARGET2 as <type>, where <type> is one of rel, abs, or got-rel">,
312  MetaVarName<"<type>">;
313
314defm threads: B<"threads",
315    "Run the linker multi-threaded (default)",
316    "Do not run the linker multi-threaded">;
317
318def trace: F<"trace">, HelpText<"Print the names of the input files">;
319
320defm trace_symbol: Eq<"trace-symbol", "Trace references to symbols">;
321
322defm undefined: Eq<"undefined", "Force undefined symbol during linking">,
323  MetaVarName<"<symbol>">;
324
325defm unresolved_symbols:
326  Eq<"unresolved-symbols", "Determine how to handle unresolved symbols">;
327
328defm undefined_version: B<"undefined-version",
329  "Allow unused version in version script (default)",
330  "Report version scripts that refer undefined symbols">;
331
332defm rsp_quoting: Eq<"rsp-quoting", "Quoting style for response files">,
333  MetaVarName<"[posix,windows]">;
334
335def v: Flag<["-"], "v">, HelpText<"Display the version number">;
336
337def verbose: F<"verbose">, HelpText<"Verbose mode">;
338
339def version: F<"version">, HelpText<"Display the version number and exit">;
340
341defm version_script: Eq<"version-script", "Read a version script">;
342
343defm warn_backrefs: B<"warn-backrefs",
344    "Warn about backward symbol references to fetch archive members",
345    "Do not warn about backward symbol references to fetch archive members (default)">;
346
347defm warn_common: B<"warn-common",
348    "Warn about duplicate common symbols",
349    "Do not warn about duplicate common symbols (default)">;
350
351defm warn_symbol_ordering: B<"warn-symbol-ordering",
352    "Warn about problems with the symbol ordering file (default)",
353    "Do not warn about problems with the symbol ordering file">;
354
355def warn_unresolved_symbols: F<"warn-unresolved-symbols">,
356  HelpText<"Report unresolved symbols as warnings">;
357
358defm whole_archive: B<"whole-archive",
359    "Force load of all members in a static library",
360    "Do not force load of all members in a static library (default)">;
361
362defm wrap: Eq<"wrap", "Use wrapper functions for symbol">,
363  MetaVarName<"<symbol>=<symbol>">;
364
365def z: JoinedOrSeparate<["-"], "z">, MetaVarName<"<option>">,
366  HelpText<"Linker option extensions">;
367
368// Aliases
369def: Separate<["-"], "f">, Alias<auxiliary>, HelpText<"Alias for --auxiliary">;
370def: F<"call_shared">, Alias<Bdynamic>, HelpText<"Alias for --Bdynamic">;
371def: F<"dy">, Alias<Bdynamic>, HelpText<"Alias for --Bdynamic">;
372def: F<"dn">, Alias<Bstatic>, HelpText<"Alias for --Bstatic">;
373def: F<"non_shared">, Alias<Bstatic>, HelpText<"Alias for --Bstatic">;
374def: F<"static">, Alias<Bstatic>, HelpText<"Alias for --Bstatic">;
375def: Flag<["-"], "d">, Alias<define_common>, HelpText<"Alias for --define-common">;
376def: F<"dc">, Alias<define_common>, HelpText<"Alias for --define-common">;
377def: F<"dp">, Alias<define_common>, HelpText<"Alias for --define-common">;
378def: Flag<["-"], "x">, Alias<discard_all>, HelpText<"Alias for --discard-all">;
379def: Flag<["-"], "X">, Alias<discard_locals>, HelpText<"Alias for --discard-locals">;
380def: Flag<["-"], "q">, Alias<emit_relocs>, HelpText<"Alias for --emit-relocs">;
381def: Flag<["-"], ")">, Alias<end_group>, HelpText<"Alias for --end-group">;
382def: JoinedOrSeparate<["-"], "e">, Alias<entry>, HelpText<"Alias for --entry">;
383def: Flag<["-"], "E">, Alias<export_dynamic>, HelpText<"Alias for --export-dynamic">;
384def: Separate<["-"], "F">, Alias<filter>, HelpText<"Alias for --filter">;
385def: Separate<["-"], "b">, Alias<format>, HelpText<"Alias for --format">;
386def: JoinedOrSeparate<["-"], "l">, Alias<library>, HelpText<"Alias for --library">;
387def: JoinedOrSeparate<["-"], "L">, Alias<library_path>, HelpText<"Alias for --library-path">;
388def: F<"no-pic-executable">, Alias<no_pie>, HelpText<"Alias for --no-pie">;
389def: Flag<["-"], "N">, Alias<omagic>, HelpText<"Alias for --omagic">;
390def: Joined<["--"], "output=">, Alias<o>, HelpText<"Alias for -o">;
391def: Separate<["--"], "output">, Alias<o>, HelpText<"Alias for -o">;
392def: F<"pic-executable">, Alias<pie>, HelpText<"Alias for --pie">;
393def: Flag<["-"], "M">, Alias<print_map>, HelpText<"Alias for --print-map">;
394def: Flag<["-"], "r">, Alias<relocatable>, HelpText<"Alias for --relocatable">;
395def: JoinedOrSeparate<["-"], "R">, Alias<rpath>, HelpText<"Alias for --rpath">;
396def: JoinedOrSeparate<["-"], "T">, Alias<script>, HelpText<"Alias for --script">;
397def: F<"Bshareable">, Alias<shared>, HelpText<"Alias for --shared">;
398def: JoinedOrSeparate<["-"], "h">, Alias<soname>, HelpText<"Alias for --soname">;
399def: Flag<["-"], "(">, Alias<start_group>, HelpText<"Alias for --start-group">;
400def: Flag<["-"], "s">, Alias<strip_all>, HelpText<"Alias for --strip-all">;
401def: Flag<["-"], "S">, Alias<strip_debug>, HelpText<"Alias for --strip-debug">;
402def: Flag<["-"], "t">, Alias<trace>, HelpText<"Alias for --trace">;
403def: JoinedOrSeparate<["-"], "y">, Alias<trace_symbol>, HelpText<"Alias for --trace-symbol">;
404def: Separate<["-", "--"], "Ttext-segment">, Alias<Ttext>, HelpText<"Alias for --Ttext">;
405def: Joined<["-", "--"], "Ttext-segment=">, Alias<Ttext>, HelpText<"Alias for --Ttext">;
406def: JoinedOrSeparate<["-"], "u">, Alias<undefined>, HelpText<"Alias for --undefined">;
407def: Flag<["-"], "V">, Alias<version>, HelpText<"Alias for --version">;
408
409// LTO-related options.
410def lto_aa_pipeline: J<"lto-aa-pipeline=">,
411  HelpText<"AA pipeline to run during LTO. Used in conjunction with -lto-newpm-passes">;
412def lto_debug_pass_manager: F<"lto-debug-pass-manager">,
413  HelpText<"Debug new pass manager">;
414def lto_new_pass_manager: F<"lto-new-pass-manager">,
415  HelpText<"Use new pass manager">;
416def lto_newpm_passes: J<"lto-newpm-passes=">,
417  HelpText<"Passes to run during LTO">;
418def lto_O: J<"lto-O">, MetaVarName<"<opt-level>">,
419  HelpText<"Optimization level for LTO">;
420def lto_partitions: J<"lto-partitions=">,
421  HelpText<"Number of LTO codegen partitions">;
422def lto_sample_profile: J<"lto-sample-profile=">,
423  HelpText<"Sample profile file path">;
424def disable_verify: F<"disable-verify">;
425defm mllvm: Eq<"mllvm", "Additional arguments to forward to LLVM's option processing">;
426def opt_remarks_filename: Separate<["--"], "opt-remarks-filename">,
427  HelpText<"YAML output file for optimization remarks">;
428def opt_remarks_with_hotness: Flag<["--"], "opt-remarks-with-hotness">,
429  HelpText<"Include hotness information in the optimization remarks file">;
430defm plugin_opt: Eq<"plugin-opt", "specifies LTO options for compatibility with GNU linkers">;
431def save_temps: F<"save-temps">;
432def thinlto_cache_dir: J<"thinlto-cache-dir=">,
433  HelpText<"Path to ThinLTO cached object file directory">;
434defm thinlto_cache_policy: Eq<"thinlto-cache-policy", "Pruning policy for the ThinLTO cache">;
435def thinlto_jobs: J<"thinlto-jobs=">, HelpText<"Number of ThinLTO jobs">;
436
437def: J<"plugin-opt=O">, Alias<lto_O>, HelpText<"Alias for -lto-O">;
438def: F<"plugin-opt=debug-pass-manager">,
439  Alias<lto_debug_pass_manager>, HelpText<"Alias for -lto-debug-pass-manager">;
440def: F<"plugin-opt=disable-verify">, Alias<disable_verify>, HelpText<"Alias for -disable-verify">;
441def plugin_opt_dwo_dir_eq: J<"plugin-opt=dwo_dir=">,
442  HelpText<"Directory to store .dwo files when LTO and debug fission are used">;
443def: J<"plugin-opt=jobs=">, Alias<thinlto_jobs>, HelpText<"Alias for -thinlto-jobs">;
444def: J<"plugin-opt=lto-partitions=">, Alias<lto_partitions>, HelpText<"Alias for -lto-partitions">;
445def plugin_opt_mcpu_eq: J<"plugin-opt=mcpu=">;
446def: F<"plugin-opt=new-pass-manager">,
447  Alias<lto_new_pass_manager>, HelpText<"Alias for -lto-new-pass-manager">;
448def plugin_opt_obj_path_eq: J<"plugin-opt=obj-path=">;
449def: J<"plugin-opt=sample-profile=">,
450  Alias<lto_sample_profile>, HelpText<"Alias for -lto-sample-profile">;
451def: F<"plugin-opt=save-temps">, Alias<save_temps>, HelpText<"Alias for -save-temps">;
452def plugin_opt_thinlto_emit_imports_files: F<"plugin-opt=thinlto-emit-imports-files">;
453def plugin_opt_thinlto_index_only: F<"plugin-opt=thinlto-index-only">;
454def plugin_opt_thinlto_index_only_eq: J<"plugin-opt=thinlto-index-only=">;
455def plugin_opt_thinlto_object_suffix_replace_eq: J<"plugin-opt=thinlto-object-suffix-replace=">;
456def plugin_opt_thinlto_prefix_replace_eq: J<"plugin-opt=thinlto-prefix-replace=">;
457
458// Ignore LTO plugin-related options.
459// clang -flto passes -plugin and -plugin-opt to the linker. This is required
460// for ld.gold and ld.bfd to get LTO working. But it's not for lld which doesn't
461// rely on a plugin. Instead of detecting which linker is used on clang side we
462// just ignore the option on lld side as it's easier. In fact, the linker could
463// be called 'ld' and understanding which linker is used would require parsing of
464// --version output.
465defm plugin: Eq<"plugin", "Ignored for compatibility with GNU linkers">;
466
467def plugin_opt_fresolution_eq: J<"plugin-opt=-fresolution=">;
468def plugin_opt_pass_through_eq: J<"plugin-opt=-pass-through=">;
469def plugin_opt_thinlto: J<"plugin-opt=thinlto">;
470def plugin_opt_slash: J<"plugin-opt=/">;
471
472// Options listed below are silently ignored for now for compatibility.
473def: F<"allow-shlib-undefined">;
474def: F<"detect-odr-violations">;
475def: Flag<["-"], "g">;
476def: F<"long-plt">;
477def: F<"no-add-needed">;
478def: F<"no-allow-shlib-undefined">;
479def: F<"no-copy-dt-needed-entries">;
480def: F<"no-ctors-in-init-array">;
481def: F<"no-keep-memory">;
482def: F<"no-mmap-output-file">;
483def: F<"no-warn-mismatch">;
484def: Separate<["--", "-"], "rpath-link">;
485def: J<"rpath-link=">;
486def: F<"sort-common">;
487def: F<"stats">;
488def: F<"warn-execstack">;
489def: F<"warn-once">;
490def: F<"warn-shared-textrel">;
491def: F<"EB">;
492def: F<"EL">;
493def: JoinedOrSeparate<["-"], "G">;
494def: F<"Qy">;
495
496// Hidden option used for testing MIPS multi-GOT implementation.
497defm mips_got_size:
498  Eq<"mips-got-size", "Max size of a single MIPS GOT. 0x10000 by default.">,
499  Flags<[HelpHidden]>;
500