OSDN Git Service
(root)
/
android-x86
/
bionic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6ff0dc
)
Disallow dlopen("egl/blah.so") on LP64
author
Dmitriy Ivanov
<dimitry@google.com>
Sat, 3 May 2014 01:18:50 +0000
(18:18 -0700)
committer
Dmitriy Ivanov
<dimitry@google.com>
Sat, 3 May 2014 01:18:50 +0000
(18:18 -0700)
Change-Id: I9a563a9dada6522129b1890bc1292667230e80a5
linker/linker.cpp
patch
|
blob
|
history
diff --git
a/linker/linker.cpp
b/linker/linker.cpp
index
4d8563e
..
08231ea
100755
(executable)
--- a/
linker/linker.cpp
+++ b/
linker/linker.cpp
@@
-680,6
+680,9
@@
static int open_library(const char* name) {
return fd;
}
// ...but nvidia binary blobs (at least) rely on this behavior, so fall through for now.
+#if defined(__LP64__)
+ return -1;
+#endif
}
// Otherwise we try LD_LIBRARY_PATH first, and fall back to the built-in well known paths.