summaryrefslogtreecommitdiff
path: root/linker/linker.cpp
diff options
context:
space:
mode:
authorWeiwu Chen <weiwu.chen@intel.com>2013-12-03 19:47:34 +0800
committerElliott Hughes <enh@google.com>2014-01-28 11:54:01 -0800
commit5ceb889ac9a36e74e4e00c34c57cbb58d73e228c (patch)
tree81ab70dc777702a065d8755615ada8d860e3a3ca /linker/linker.cpp
parent4449fe9675671264746af4876bd959af8e9fee82 (diff)
bionic: Change the type of soinfo's size to size_t
Some system functions like munmap expect soinfo's size to be size_t, but currently it is unsigned. Change it to size_t to fit 64bit's portability. Change-Id: I0bf6d522b38b0cd9bf1db05b004b5326217412a2 Signed-off-by: Weiwu Chen <weiwu.chen@intel.com> Signed-off-by: Qiming Shi <qiming.shi@intel.com>
Diffstat (limited to 'linker/linker.cpp')
-rwxr-xr-xlinker/linker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/linker/linker.cpp b/linker/linker.cpp
index f58e22263..9bc9afe7f 100755
--- a/linker/linker.cpp
+++ b/linker/linker.cpp
@@ -783,7 +783,7 @@ static soinfo* find_library_internal(const char* name) {
// At this point we know that whatever is loaded @ base is a valid ELF
// shared library whose segments are properly mapped in.
- TRACE("[ init_library base=%p sz=0x%08x name='%s' ]",
+ TRACE("[ find_library_internal base=%p size=%zu name='%s' ]",
reinterpret_cast<void*>(si->base), si->size, si->name);
if (!soinfo_link_image(si)) {