From 175dae92d78cc6338125a49ea8dbabbd2f22ddf0 Mon Sep 17 00:00:00 2001 From: Dmitriy Ivanov Date: Wed, 10 Jun 2015 19:46:19 -0700 Subject: [PATCH] Fix l_addr for the linker Bug: http://b/21765603 Change-Id: I97710ef2436eac2160e29ba3e4521f6e63a1907c --- linker/linker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linker/linker.cpp b/linker/linker.cpp index 513ffd67b..a9593945e 100644 --- a/linker/linker.cpp +++ b/linker/linker.cpp @@ -3084,7 +3084,7 @@ static soinfo* linker_soinfo_for_gdb = nullptr; static void init_linker_info_for_gdb(ElfW(Addr) linker_base) { linker_soinfo_for_gdb = new (linker_soinfo_for_gdb_buf) soinfo(LINKER_PATH, nullptr, 0, 0); - linker_soinfo_for_gdb->base = linker_base; + linker_soinfo_for_gdb->load_bias = linker_base; /* * Set the dynamic field in the link map otherwise gdb will complain with