diff --git a/lld/ELF/Options.td b/lld/ELF/Options.td index 10b0f14b3572..8b8e265d7dfc 100644 --- a/lld/ELF/Options.td +++ b/lld/ELF/Options.td @@ -12,6 +12,8 @@ def L : Joined<["-"], "L">, MetaVarName<"">, def allow_multiple_definition: Flag<["--"], "allow-multiple-definition">, HelpText<"Allow multiple definitions">; +def allow_shlib_undefined : Flag<["--"], "allow-shlib-undefined">; + def discard_all : Flag<["-"], "discard-all">, HelpText<"Delete all local symbols">; @@ -33,6 +35,8 @@ def export_dynamic : Flag<["--"], "export-dynamic">, def l : Joined<["-"], "l">, MetaVarName<"">, HelpText<"Root name of library to use">; +def no_allow_shlib_undefined : Flag<["--"], "no-allow-shlib-undefined">; + def noinhibit_exec : Flag<["--"], "noinhibit-exec">, HelpText<"Retain the executable output file whenever it is still usable">; @@ -48,12 +52,6 @@ def shared : Flag<["-"], "shared">, def sysroot : Joined<["--"], "sysroot=">, HelpText<"Set the system root">; -def no_allow_shlib_undefined - : Flag<["--"], "no-allow-shlib-undefined">; - -def allow_shlib_undefined - : Flag<["--"], "allow-shlib-undefined">; - // Aliases def alias_Bdynamic_call_shared: Flag<["-"], "call_shared">, Alias; def alias_Bdynamic_dy: Flag<["-"], "dy">, Alias;