Index: ELF/Options.td =================================================================== --- ELF/Options.td +++ ELF/Options.td @@ -22,10 +22,10 @@ def build_id_eq: J<"build-id=">, HelpText<"Generate build ID note">; -def compress_debug_sections : J<"compress-debug-sections=">, +def compress_debug_sections : S<"compress-debug-sections=">, HelpText<"Compress DWARF debug sections">; -def defsym: J<"defsym=">, HelpText<"Define a symbol alias">; +def defsym: S<"defsym">, HelpText<"Define a symbol alias">; def L: JoinedOrSeparate<["-"], "L">, MetaVarName<"">, HelpText<"Add a directory to the library search path">; @@ -104,7 +104,7 @@ def fatal_warnings: F<"fatal-warnings">, HelpText<"Treat warnings as errors">; -def filter: J<"filter=">, HelpText<"Set DT_FILTER field to the specified name">; +def filter: S<"filter">, HelpText<"Set DT_FILTER field to the specified name">; def fini: S<"fini">, MetaVarName<"">, HelpText<"Specify a finalizer function">; @@ -112,7 +112,7 @@ def full_shutdown : F<"full-shutdown">, HelpText<"Perform a full shutdown instead of calling _exit">; -def format: J<"format=">, MetaVarName<"">, +def format: S<"format">, MetaVarName<"">, HelpText<"Change the input format of the inputs following this option">; def gc_sections: F<"gc-sections">, @@ -128,7 +128,7 @@ def icf: F<"icf=all">, HelpText<"Enable identical code folding">; -def image_base : J<"image-base=">, HelpText<"Set the base address">; +def image_base : S<"image-base">, HelpText<"Set the base address">; def init: S<"init">, MetaVarName<"">, HelpText<"Specify an initializer function">; @@ -213,7 +213,7 @@ def relocatable: F<"relocatable">, HelpText<"Create relocatable object file">; -def retain_symbols_file: J<"retain-symbols-file=">, MetaVarName<"">, +def retain_symbols_file: S<"retain-symbols-file">, MetaVarName<"">, HelpText<"Retain only the symbols listed in the file">; def script: S<"script">, HelpText<"Read linker script">; @@ -223,7 +223,7 @@ def shared: F<"shared">, HelpText<"Build a shared object">; -def soname: J<"soname=">, HelpText<"Set DT_SONAME">; +def soname: S<"soname">, HelpText<"Set DT_SONAME">; def sort_section: S<"sort-section">, HelpText<"Specifies sections sorting rule when linkerscript is used">; @@ -237,7 +237,7 @@ def symbol_ordering_file: S<"symbol-ordering-file">, HelpText<"Layout sections in the order specified by symbol file">; -def sysroot: J<"sysroot=">, HelpText<"Set the system root">; +def sysroot: S<"sysroot">, HelpText<"Set the system root">; def target1_rel: F<"target1-rel">, HelpText<"Interpret R_ARM_TARGET1 as R_ARM_REL32">; @@ -254,7 +254,7 @@ def undefined: S<"undefined">, HelpText<"Force undefined symbol during linking">; -def unresolved_symbols: J<"unresolved-symbols=">, +def unresolved_symbols: S<"unresolved-symbols">, HelpText<"Determine how to handle unresolved symbols">; def rsp_quoting: J<"rsp-quoting=">, @@ -291,11 +291,14 @@ def alias_Bstatic_dn: F<"dn">, Alias; def alias_Bstatic_non_shared: F<"non_shared">, Alias; def alias_Bstatic_static: F<"static">, Alias; -def alias_L__library_path: J<"library-path=">, Alias; +def alias_L__library_path_eq: J<"library-path=">, Alias; +def alias_L__library_path: S<"library-path">, Alias; +def alias_compress_debug_sections_eq : J<"compress-debug-sections=">, + Alias; def alias_define_common_d: Flag<["-"], "d">, Alias; def alias_define_common_dc: F<"dc">, Alias; def alias_define_common_dp: F<"dp">, Alias; -def alias_defsym: S<"defsym">, Alias; +def alias_defsym_eq: J<"defsym=">, Alias; def alias_discard_all_x: Flag<["-"], "x">, Alias; def alias_discard_locals_X: Flag<["-"], "X">, Alias; def alias_dynamic_list: J<"dynamic-list=">, Alias; @@ -308,11 +311,15 @@ def alias_export_dynamic_symbol: J<"export-dynamic-symbol=">, Alias; def alias_filter: Separate<["-"], "F">, Alias; +def alias_filter_eq: J<"filter=">, Alias; def alias_fini_fini: J<"fini=">, Alias; def alias_format_b: S<"b">, Alias; +def alias_format_eq: J<"format=">, Alias; def alias_hash_style_hash_style: J<"hash-style=">, Alias; def alias_init_init: J<"init=">, Alias; -def alias_l__library: J<"library=">, Alias; +def alias_image_base_eq: J<"image-base=">, Alias; +def alias_l__library_eq: J<"library=">, Alias; +def alias_l__library: S<"library">, Alias; def alias_Map_eq: J<"Map=">, Alias; def alias_omagic: Flag<["-"], "N">, Alias; def alias_o_output: Joined<["--"], "output=">, Alias; @@ -321,17 +328,18 @@ def alias_print_map_M: Flag<["-"], "M">, Alias; def alias_relocatable_r: Flag<["-"], "r">, Alias; def alias_reproduce_eq: J<"reproduce=">, Alias; -def alias_retain_symbols_file: S<"retain-symbols-file">, Alias; +def alias_retain_symbols_file_eq: J<"retain-symbols-file=">, Alias; def alias_rpath_R: JoinedOrSeparate<["-"], "R">, Alias; def alias_rpath_rpath: J<"rpath=">, Alias; def alias_script_T: JoinedOrSeparate<["-"], "T">, Alias