summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4e7d66d)
raw | patch | inline | side by side (parent: 4e7d66d)
author | Dmitriy Ivanov <dimitry@google.com> | |
Tue, 2 Dec 2014 21:27:40 +0000 (13:27 -0800) | ||
committer | Dmitriy Ivanov <dimitry@google.com> | |
Tue, 2 Dec 2014 21:27:40 +0000 (13:27 -0800) |
Change-Id: Iddbf06784d19556a55d833e20a68e6ccf5a7c5be
linker/linker.cpp | patch | blob | history |
diff --git a/linker/linker.cpp b/linker/linker.cpp
index fcd4824d5c4e62989d84cc299e15020c953e580a..b2e746444d0452324d5e4897bb9c0984353e56c5 100644 (file)
--- a/linker/linker.cpp
+++ b/linker/linker.cpp
@@ -1760,7 +1760,7 @@ bool soinfo::mips_relocate_got(const soinfo_list_t& global_group, const soinfo_l
// got[1] may be used for a GNU extension.
// Set it to a recognizable address in case someone calls it (should be _rtld_bind_start).
// FIXME: maybe this should be in a separate routine?
- if ((flags & FLAG_LINKER) == 0) {
+ if ((flags_ & FLAG_LINKER) == 0) {
size_t g = 0;
got[g++] = reinterpret_cast<ElfW(Addr)*>(0xdeadbeef);
if (reinterpret_cast<intptr_t>(got[g]) < 0) {