Index: COFF/Options.td =================================================================== --- COFF/Options.td +++ COFF/Options.td @@ -93,6 +93,25 @@ def lldmap : Joined<["/", "-"], "lldmap:">; //============================================================================== +// The flags below provide aliases. They are defined for ld compatibility. +//============================================================================== + +def o : Separate<["-"], "o">, Alias; +def L : Joined<["-"], "L">, Alias; +def e : Separate<["-"], "e">, Alias; +def subs : Separate<["--"], "subsystem">, Alias; + +def Bdynamic: Flag<["-"], "Bdynamic">, + HelpText<"Link against shared libraries">; + +def Bstatic: Flag<["-"], "Bstatic">, + HelpText<"Do not link against shared libraries">; + +// Used to override gnu pe targets +def m : Separate<["-"], "m">, MetaVarName<"">, + HelpText<"Select target emulation">; + +//============================================================================== // The flags below do nothing. They are defined only for link.exe compatibility. //==============================================================================