From: Waldemar Kozaczuk <[email protected]>
Committer: Waldemar Kozaczuk <[email protected]>
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 <[email protected]>

---
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());
         }

--
You received this message because you are subscribed to the Google Groups "OSv 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osv-dev/0000000000007e3852059033362b%40google.com.

Reply via email to