diff options
author | Chris Lattner <sabre@nondot.org> | 2003-11-05 06:05:21 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-11-05 06:05:21 +0000 |
commit | fe32bf5d0d6602e4c352910eebf9725867046187 (patch) | |
tree | a3638b59c906ad01abb46da4a154943b14551f83 /tools/gccld | |
parent | e292da29bfeb2faad71a568e9cbb706affd5f330 (diff) | |
download | external_llvm-fe32bf5d0d6602e4c352910eebf9725867046187.zip external_llvm-fe32bf5d0d6602e4c352910eebf9725867046187.tar.gz external_llvm-fe32bf5d0d6602e4c352910eebf9725867046187.tar.bz2 |
Make -r work, fixing PR 91
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9724 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/gccld')
-rw-r--r-- | tools/gccld/gccld.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/gccld/gccld.cpp b/tools/gccld/gccld.cpp index 1adf08e..dd1c92f 100644 --- a/tools/gccld/gccld.cpp +++ b/tools/gccld/gccld.cpp @@ -62,13 +62,16 @@ namespace { cl::opt<bool> 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<bool> 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<bool> Native("native", @@ -81,8 +84,6 @@ namespace { CO4("version-script", cl::Hidden, cl::desc("Compatibility option: ignored")); cl::opt<bool> CO5("eh-frame-hdr", cl::Hidden, cl::desc("Compatibility option: ignored")); - cl::opt<bool> - CO6("r", cl::Hidden, cl::desc("Compatibility option: ignored")); } // |