Cleaned up the code which chooses the appropriate value for the file descriptor
authorMisha Brukman <brukman+llvm@gmail.com>
Fri, 18 Jul 2003 18:33:38 +0000 (18:33 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Fri, 18 Jul 2003 18:33:38 +0000 (18:33 +0000)
commit06dabfaed55d37cf40e811586ba06b5779e58ab9
tree470c828eb28f6dd601fcd7c5f4f8d2aca0edfa8e
parentc86516f35ccc64ad33acdd79c89aa4c4e33c6e70
Cleaned up the code which chooses the appropriate value for the file descriptor
to pass to dlsym() -- Linux/x86 wants 0 while Sparc/Solaris wants RTLD_SELF,
which is not zero. Thanks to Chris for the suggestion.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7204 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ExecutionEngine/ExecutionEngine.cpp