From: Andrew Lenharth Date: Thu, 10 Mar 2005 20:15:09 +0000 (+0000) Subject: yay for camel_cvs diff X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=572668aa38e080b1c361c93b91a7d367a69e3015;p=oota-llvm.git yay for camel_cvs diff git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20552 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Support/ToolRunner.cpp b/lib/Support/ToolRunner.cpp index 46971f8d23f..2f6f2f43a5d 100644 --- a/lib/Support/ToolRunner.cpp +++ b/lib/Support/ToolRunner.cpp @@ -451,7 +451,7 @@ int GCC::MakeSharedObject(const std::string &InputFile, FileType fileType, "-shared", // `-shared' for Linux/X86, maybe others #endif -#if defined(__ia64__) +#if defined(__ia64__) || defined(__alpha__) "-fPIC", // IA64 requires shared objs to contain PIC #endif "-o", OutputFile.c_str(), // Output to the right filename... diff --git a/tools/bugpoint/ToolRunner.cpp b/tools/bugpoint/ToolRunner.cpp index 46971f8d23f..2f6f2f43a5d 100644 --- a/tools/bugpoint/ToolRunner.cpp +++ b/tools/bugpoint/ToolRunner.cpp @@ -451,7 +451,7 @@ int GCC::MakeSharedObject(const std::string &InputFile, FileType fileType, "-shared", // `-shared' for Linux/X86, maybe others #endif -#if defined(__ia64__) +#if defined(__ia64__) || defined(__alpha__) "-fPIC", // IA64 requires shared objs to contain PIC #endif "-o", OutputFile.c_str(), // Output to the right filename...