summaryrefslogtreecommitdiffstats
path: root/linker
diff options
context:
space:
mode:
authorDmitriy Ivanov <dimitry@google.com>2015-06-10 19:46:19 -0700
committerDmitriy Ivanov <dimitry@google.com>2015-06-10 20:05:48 -0700
commit38263dd91a4b68e2ad0afe458c9a20cb360dafeb (patch)
treea6ef17c5cd8583c09dc4d1a3c486607c1cec82eb /linker
parent25ac753f474492ffa3625ca6b5aae254bb205c33 (diff)
downloadbionic-38263dd91a4b68e2ad0afe458c9a20cb360dafeb.zip
bionic-38263dd91a4b68e2ad0afe458c9a20cb360dafeb.tar.gz
bionic-38263dd91a4b68e2ad0afe458c9a20cb360dafeb.tar.bz2
Fix l_addr for the linker
Bug: http://b/21765603 Change-Id: I97710ef2436eac2160e29ba3e4521f6e63a1907c (cherry picked from commit 175dae92d78cc6338125a49ea8dbabbd2f22ddf0)
Diffstat (limited to 'linker')
-rw-r--r--linker/linker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/linker/linker.cpp b/linker/linker.cpp
index b5ebc1e..c353290 100644
--- a/linker/linker.cpp
+++ b/linker/linker.cpp
@@ -3020,7 +3020,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