From fe32bf5d0d6602e4c352910eebf9725867046187 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 5 Nov 2003 06:05:21 +0000 Subject: [PATCH] Make -r work, fixing PR 91 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9724 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/gccld/gccld.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tools/gccld/gccld.cpp b/tools/gccld/gccld.cpp index 1adf08e4c9e..dd1c92f38c0 100644 --- a/tools/gccld/gccld.cpp +++ b/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")); } // -- 2.34.1