]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/platform-bionic.git/blobdiff - linker/dlfcn.cpp
Merge "Revert "HACK: linker: check for handle==0xffffffff on LP64""
[android-sdk/platform-bionic.git] / linker / dlfcn.cpp
index 0b60ef5f48a853d2f2c0660c7f95d95a4fbcfd49..529e20fd6c385213445d49ab0aa98177ee2fb454 100644 (file)
@@ -100,9 +100,9 @@ void* dlsym(void* handle, const char* symbol) {
 
   soinfo* found = NULL;
   ElfW(Sym)* sym = NULL;
-  if (handle == RTLD_DEFAULT || handle == (void*)0xffffffffL) {
+  if (handle == RTLD_DEFAULT) {
     sym = dlsym_linear_lookup(symbol, &found, NULL);
-  } else if (handle == RTLD_NEXT || handle == (void*)0xfffffffeL) {
+  } else if (handle == RTLD_NEXT) {
     void* caller_addr = __builtin_return_address(0);
     soinfo* si = find_containing_library(caller_addr);