diff --git a/llvm/tools/gccld/gccld.cpp b/llvm/tools/gccld/gccld.cpp index 1adf08e4c9e5..dd1c92f38c0b 100644 --- a/llvm/tools/gccld/gccld.cpp +++ b/llvm/tools/gccld/gccld.cpp @@ -62,13 +62,16 @@ namespace { cl::opt NoInternalize("disable-internalize", cl::desc("Do not mark all symbols as internal")); - static cl::alias + cl::alias ExportDynamic("export-dynamic", cl::desc("Alias for -disable-internalize"), cl::aliasopt(NoInternalize)); cl::opt LinkAsLibrary("link-as-library", cl::desc("Link the .bc files together as a" " library, not an executable")); + cl::alias + Relink("r", cl::desc("Alias for -link-as-library"), + cl::aliasopt(LinkAsLibrary)); cl::opt Native("native", @@ -81,8 +84,6 @@ namespace { CO4("version-script", cl::Hidden, cl::desc("Compatibility option: ignored")); cl::opt CO5("eh-frame-hdr", cl::Hidden, cl::desc("Compatibility option: ignored")); - cl::opt - CO6("r", cl::Hidden, cl::desc("Compatibility option: ignored")); } //