From: Waldemar Kozaczuk <
jwkoz...@gmail.com>
Committer: Waldemar Kozaczuk <
jwkoz...@gmail.com>
Branch: master
dynamic linker: adjust message when symbol missing
This patch adjusts the message displayed by dynamic
linker to better reflect the case when symbol
is missing and should be ignored when loading
ELF objects with BIND_NOW.
Signed-off-by: Waldemar Kozaczuk <
jwkoz...@gmail.com>
---
diff --git a/core/elf.cc b/core/elf.cc
--- a/core/elf.cc
+++ b/core/elf.cc
@@ -624,7 +624,7 @@ symbol_module object::symbol(unsigned idx, bool
ignore_missing)
}
if (!ret.symbol) {
if (ignore_missing) {
- debug("%s: failed looking up symbol %s\n", pathname().c_str(),
demangle(name).c_str());
+ debug("%s: ignoring missing symbol %s\n", pathname().c_str(),
demangle(name).c_str());
} else {
abort("%s: failed looking up symbol %s\n", pathname().c_str(),
demangle(name).c_str());
}