summaryrefslogtreecommitdiffstats
path: root/linker/dlfcn.cpp
diff options
context:
space:
mode:
authorDmitriy Ivanov <dimitry@google.com>2015-04-09 13:42:33 -0700
committerDmitriy Ivanov <dimitry@google.com>2015-04-16 17:57:30 -0700
commit2a815361448d01b0f4e575f507ce31913214c536 (patch)
tree82b941e908b54d6d48ef04495ff2808aa2823ae1 /linker/dlfcn.cpp
parentc6ccdfaf1ff4665ec96962863054263510d73e7b (diff)
downloadbionic-2a815361448d01b0f4e575f507ce31913214c536.zip
bionic-2a815361448d01b0f4e575f507ce31913214c536.tar.gz
bionic-2a815361448d01b0f4e575f507ce31913214c536.tar.bz2
Support symbol versioning
Bug: http://b/20139821 Change-Id: I64122a0fb0960c20b2ce614161b7ab048456b681
Diffstat (limited to 'linker/dlfcn.cpp')
-rw-r--r--linker/dlfcn.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/linker/dlfcn.cpp b/linker/dlfcn.cpp
index 5ed8891..057c217 100644
--- a/linker/dlfcn.cpp
+++ b/linker/dlfcn.cpp
@@ -100,7 +100,7 @@ void* dlsym(void* handle, const char* symbol) {
}
soinfo* found = nullptr;
- ElfW(Sym)* sym = nullptr;
+ const ElfW(Sym)* sym = nullptr;
void* caller_addr = __builtin_return_address(0);
soinfo* caller = find_containing_library(caller_addr);