Make the bytecode file executable as well for LLEE purposes.

llvm-svn: 7992
diff --git a/llvm/tools/gccld/gccld.cpp b/llvm/tools/gccld/gccld.cpp
index ef3d2ae..93f0e29 100644
--- a/llvm/tools/gccld/gccld.cpp
+++ b/llvm/tools/gccld/gccld.cpp
@@ -440,6 +440,9 @@
   
     // Make the script executable...
     chmod(OutputFilename.c_str(), 0755);
+
+    // Make the bytecode file directly executable in LLEE as well
+    chmod(RealBytecodeOutput.c_str(), 0755);
   }
 
   return 0;