Index: lld/trunk/ELF/Options.td =================================================================== --- lld/trunk/ELF/Options.td +++ lld/trunk/ELF/Options.td @@ -23,7 +23,7 @@ def Bsymbolic_functions: F<"Bsymbolic-functions">, HelpText<"Bind defined function symbols locally">; -def Bdynamic: F<"Bdynamic">, HelpText<"Link against shared libraries">; +def Bdynamic: F<"Bdynamic">, HelpText<"Link against shared libraries (default)">; def Bstatic: F<"Bstatic">, HelpText<"Do not link against shared libraries">; @@ -32,7 +32,7 @@ def build_id_eq: J<"build-id=">, HelpText<"Generate build ID note">; defm check_sections : B<"check-sections", - "Check section addresses for overlaps", + "Check section addresses for overlaps (default)", "Do not check section addresses for overlaps">; defm compress_debug_sections: @@ -53,7 +53,7 @@ defm allow_multiple_definition: B<"allow-multiple-definition", "Allow multiple definitions", - "Do not allow multiple definitions">; + "Do not allow multiple definitions (default)">; defm apply_dynamic_relocs: B<"apply-dynamic-relocs", "Apply dynamic relocations to place", @@ -61,7 +61,7 @@ defm as_needed: B<"as-needed", "Only set DT_NEEDED for shared libraries if used", - "Always set DT_NEEDED for shared libraries">; + "Always set DT_NEEDED for shared libraries (default)">; defm call_graph_ordering_file: Eq<"call-graph-ordering-file", "Layout sections to optimize the given callgraph">; @@ -84,7 +84,7 @@ "Do not assign space to common symbols">; defm demangle: B<"demangle", - "Demangle symbol names", + "Demangle symbol names (default)", "Do not demangle symbol names">; def disable_new_dtags: F<"disable-new-dtags">, @@ -96,7 +96,7 @@ HelpText<"Delete temporary local symbols">; def discard_none: F<"discard-none">, - HelpText<"Keep all symbols in the symbol table">; + HelpText<"Keep all symbols in the symbol table (default)">; defm dynamic_linker: Eq<"dynamic-linker", "Which dynamic linker to use">; @@ -109,7 +109,7 @@ def emit_relocs: F<"emit-relocs">, HelpText<"Generate relocations in output">; def enable_new_dtags: F<"enable-new-dtags">, - HelpText<"Enable new dynamic tags">; + HelpText<"Enable new dynamic tags (default)">; def end_group: F<"end-group">, HelpText<"Ignored for compatibility with GNU unless you pass --warn-backrefs">; @@ -130,14 +130,14 @@ defm export_dynamic: B<"export-dynamic", "Put symbols in the dynamic symbol table", - "Do not put symbols in the dynamic symbol table">; + "Do not put symbols in the dynamic symbol table (default)">; defm export_dynamic_symbol: Eq<"export-dynamic-symbol", "Put a symbol in the dynamic symbol table">; defm fatal_warnings: B<"fatal-warnings", "Treat warnings as errors", - "Do not treat warnings as errors">; + "Do not treat warnings as errors (default)">; defm filter: Eq<"filter", "Set DT_FILTER field to the specified name">; @@ -151,14 +151,14 @@ defm gc_sections: B<"gc-sections", "Enable garbage collection of unused sections", - "Disable garbage collection of unused sections">; + "Disable garbage collection of unused sections (default)">; defm gdb_index: B<"gdb-index", "Generate .gdb_index section", - "Do not generate .gdb_index section">; + "Do not generate .gdb_index section (default)">; defm gnu_unique: B<"gnu-unique", - "Enable STB_GNU_UNIQUE symbol binding", + "Enable STB_GNU_UNIQUE symbol binding (default)", "Disable STB_GNU_UNIQUE symbol binding">; defm hash_style: Eq<"hash-style", "Specify hash style (sysv, gnu or both)">; @@ -167,7 +167,7 @@ def icf_all: F<"icf=all">, HelpText<"Enable identical code folding">; -def icf_none: F<"icf=none">, HelpText<"Disable identical code folding">; +def icf_none: F<"icf=none">, HelpText<"Disable identical code folding (default)">; def ignore_function_address_equality: F<"ignore-function-address-equality">, HelpText<"lld can break the address equality of functions">; @@ -192,7 +192,7 @@ defm Map: Eq<"Map", "Print a link map to the specified file">; defm merge_exidx_entries: B<"merge-exidx-entries", - "Enable merging .ARM.exidx entries", + "Enable merging .ARM.exidx entries (default)", "Disable merging .ARM.exidx entries">; def nostdlib: F<"nostdlib">, @@ -234,15 +234,15 @@ defm pie: B<"pie", "Create a position independent executable", - "Do not create a position independent executable">; + "Do not create a position independent executable (default)">; defm print_gc_sections: B<"print-gc-sections", "List removed unused sections", - "Do not list removed unused sections">; + "Do not list removed unused sections (default)">; defm print_icf_sections: B<"print-icf-sections", "List identical folded sections", - "Do not list identical folded sections">; + "Do not list identical folded sections (default)">; def print_map: F<"print-map">, HelpText<"Print a link map to the standard output">; @@ -286,14 +286,14 @@ def target1_rel: F<"target1-rel">, HelpText<"Interpret R_ARM_TARGET1 as R_ARM_REL32">; -def target1_abs: F<"target1-abs">, HelpText<"Interpret R_ARM_TARGET1 as R_ARM_ABS32">; +def target1_abs: F<"target1-abs">, HelpText<"Interpret R_ARM_TARGET1 as R_ARM_ABS32 (default)">; defm target2: Eq<"target2", "Interpret R_ARM_TARGET2 as , where is one of rel, abs, or got-rel">, MetaVarName<"">; defm threads: B<"threads", - "Run the linker multi-threaded", + "Run the linker multi-threaded (default)", "Do not run the linker multi-threaded">; def trace: F<"trace">, HelpText<"Print the names of the input files">; @@ -306,7 +306,7 @@ Eq<"unresolved-symbols", "Determine how to handle unresolved symbols">; defm undefined_version: B<"undefined-version", - "Allow unused version in version script", + "Allow unused version in version script (default)", "Report version scripts that refer undefined symbols">; defm rsp_quoting: @@ -322,14 +322,14 @@ defm warn_backrefs: B<"warn-backrefs", "Warn about backward symbol references to fetch archive members", - "Do not warn about backward symbol references to fetch archive members">; + "Do not warn about backward symbol references to fetch archive members (default)">; defm warn_common: B<"warn-common", "Warn about duplicate common symbols", - "Do not warn about duplicate common symbols">; + "Do not warn about duplicate common symbols (default)">; defm warn_symbol_ordering : B<"warn-symbol-ordering", - "Warn about problems with the symbol ordering file", + "Warn about problems with the symbol ordering file (default)", "Do not warn about problems with the symbol ordering file">; def warn_unresolved_symbols: F<"warn-unresolved-symbols">, @@ -337,7 +337,7 @@ defm whole_archive: B<"whole-archive", "Force load of all members in a static library", - "Do not force load of all members in a static library">; + "Do not force load of all members in a static library (default)">; defm wrap: Eq<"wrap", "Use wrapper functions for symbol">, MetaVarName<"">;