summaryrefslogtreecommitdiff
path: root/tools/gccld
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-11-14 22:17:49 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-11-14 22:17:49 +0000
commit6903c8634819ab7a929bb68dd9fd59ecdc7153d7 (patch)
treeea40743c187e1fa2bdeea08c8620298c577c899b /tools/gccld
parent4c1af902ad989076c57283e181b152df35d86a05 (diff)
downloadllvm-6903c8634819ab7a929bb68dd9fd59ecdc7153d7.tar.gz
llvm-6903c8634819ab7a929bb68dd9fd59ecdc7153d7.tar.bz2
llvm-6903c8634819ab7a929bb68dd9fd59ecdc7153d7.tar.xz
Remove linking declarations (in Linker.h now)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17788 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/gccld')
-rw-r--r--tools/gccld/gccld.h24
1 files changed, 1 insertions, 23 deletions
diff --git a/tools/gccld/gccld.h b/tools/gccld/gccld.h
index 7f62bad542..6ac1ca00a8 100644
--- a/tools/gccld/gccld.h
+++ b/tools/gccld/gccld.h
@@ -12,6 +12,7 @@
//===----------------------------------------------------------------------===//
#include "llvm/Module.h"
+#include "llvm/Linker.h"
#include <string>
#include <set>
@@ -19,12 +20,6 @@
namespace llvm {
-void
-GetAllDefinedSymbols (Module *M, std::set<std::string> &DefinedSymbols);
-
-void
-GetAllUndefinedSymbols(Module *M, std::set<std::string> &UndefinedSymbols);
-
int
GenerateBytecode (Module * M,
bool Strip,
@@ -47,21 +42,4 @@ GenerateNative (const std::string & OutputFilename,
const std::string & gcc,
char ** const envp);
-std::auto_ptr<Module>
-LoadObject (const std::string & FN, std::string &OutErrorMessage);
-
-std::string FindLib(const std::string &Filename,
- const std::vector<std::string> &Paths,
- bool SharedObjectOnly = false);
-
-void LinkLibraries (const char * progname, Module* HeadModule,
- const std::vector<std::string> & Libraries,
- const std::vector<std::string> & LibPaths,
- bool Verbose, bool Native);
-bool
-LinkFiles (const char * progname,
- Module * HeadModule,
- const std::vector<std::string> & Files,
- bool Verbose);
-
} // End llvm namespace