diff options
| author | Ed Schouten <ed@FreeBSD.org> | 2009-06-27 10:44:33 +0000 |
|---|---|---|
| committer | Ed Schouten <ed@FreeBSD.org> | 2009-06-27 10:44:33 +0000 |
| commit | f859468f5a21b6952ab62917777f9fb3bba57003 (patch) | |
| tree | 9794dc36f22f2a2b3f8063829d8a9b3a7794acc8 /tools/lto | |
| parent | f76359690a7035ad21498f2ba6be6991d3b2032d (diff) | |
Diffstat (limited to 'tools/lto')
| -rw-r--r-- | tools/lto/LTOCodeGenerator.cpp | 2 | ||||
| -rw-r--r-- | tools/lto/Makefile | 1 | ||||
| -rw-r--r-- | tools/lto/lto.cpp | 13 |
3 files changed, 6 insertions, 10 deletions
diff --git a/tools/lto/LTOCodeGenerator.cpp b/tools/lto/LTOCodeGenerator.cpp index 8db573e61fbfe..52624ebe91001 100644 --- a/tools/lto/LTOCodeGenerator.cpp +++ b/tools/lto/LTOCodeGenerator.cpp @@ -111,7 +111,7 @@ bool LTOCodeGenerator::setDebugInfo(lto_debug_model debug, std::string& errMsg) bool LTOCodeGenerator::setCodePICModel(lto_codegen_model model, - std::string& errMsg) + std::string& errMsg) { switch (model) { case LTO_CODEGEN_PIC_MODEL_STATIC: diff --git a/tools/lto/Makefile b/tools/lto/Makefile index f0f6da7191a25..de885d9845aba 100644 --- a/tools/lto/Makefile +++ b/tools/lto/Makefile @@ -17,7 +17,6 @@ include $(LEVEL)/Makefile.config LINK_LIBS_IN_SHARED = 1 SHARED_LIBRARY = 1 -DONT_BUILD_RELINKED = 1 LINK_COMPONENTS := $(TARGETS_TO_BUILD) ipo scalaropts linker bitreader bitwriter diff --git a/tools/lto/lto.cpp b/tools/lto/lto.cpp index 7eb39ef210009..a0f67b44f5f24 100644 --- a/tools/lto/lto.cpp +++ b/tools/lto/lto.cpp @@ -198,7 +198,7 @@ bool lto_codegen_set_debug_model(lto_code_gen_t cg, lto_debug_model debug) // bool lto_codegen_set_pic_model(lto_code_gen_t cg, lto_codegen_model model) { - return cg->setCodePICModel(model, sLastErrorString); + return cg->setCodePICModel(model, sLastErrorString); } // @@ -206,7 +206,7 @@ bool lto_codegen_set_pic_model(lto_code_gen_t cg, lto_codegen_model model) // void lto_codegen_set_gcc_path(lto_code_gen_t cg, const char* path) { - cg->setGccPath(path); + cg->setGccPath(path); } // @@ -224,7 +224,7 @@ void lto_codegen_set_assembler_path(lto_code_gen_t cg, const char* path) // void lto_codegen_add_must_preserve_symbol(lto_code_gen_t cg, const char* symbol) { - cg->addMustPreserveSymbol(symbol); + cg->addMustPreserveSymbol(symbol); } @@ -235,7 +235,7 @@ void lto_codegen_add_must_preserve_symbol(lto_code_gen_t cg, const char* symbol) // bool lto_codegen_write_merged_modules(lto_code_gen_t cg, const char* path) { - return cg->writeMergedModules(path, sLastErrorString); + return cg->writeMergedModules(path, sLastErrorString); } @@ -250,7 +250,7 @@ bool lto_codegen_write_merged_modules(lto_code_gen_t cg, const char* path) extern const void* lto_codegen_compile(lto_code_gen_t cg, size_t* length) { - return cg->compile(length, sLastErrorString); + return cg->compile(length, sLastErrorString); } @@ -262,6 +262,3 @@ lto_codegen_debug_options(lto_code_gen_t cg, const char * opt) { cg->setCodeGenDebugOptions(opt); } - - - |
