Follow the ELF spec. Use the terms relocatable.
Also, clean up the code.
Change-Id: I135050b1c3072ebb33ea0b48f9e2902c9eccd587
diff --git a/lib/ExecutionEngine/Script.h b/lib/ExecutionEngine/Script.h
index 7fe3e03..ef682a6 100644
--- a/lib/ExecutionEngine/Script.h
+++ b/lib/ExecutionEngine/Script.h
@@ -158,10 +158,10 @@
char const *cacheName,
unsigned long flags);
- int prepareObject(char const *cacheDir,
- char const *cacheName,
- llvm::Reloc::Model RelocModel,
- unsigned long flags);
+ int prepareRelocatable(char const *cacheDir,
+ char const *cacheName,
+ llvm::Reloc::Model RelocModel,
+ unsigned long flags);
char const *getCompilerErrorMessage();