diff options
author | Chris Johns <chrisj@rtems.org> | 2012-12-15 23:19:21 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2012-12-15 23:19:21 +1100 |
commit | 1ce126d3fef1a7ad6129997b1a8b492d5c286183 (patch) | |
tree | c6a0cdd7ee22ea3c4ad101479d5a4101f5c7ddc1 /rld-files.cpp | |
parent | 7c02253d5df3347a0ff85e43fd2a9dca0955b55f (diff) |
Debug trace changes.
Diffstat (limited to 'rld-files.cpp')
-rw-r--r-- | rld-files.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/rld-files.cpp b/rld-files.cpp index e8b3b17..5996c95 100644 --- a/rld-files.cpp +++ b/rld-files.cpp @@ -363,7 +363,7 @@ namespace rld if (path.empty ()) throw rld::error ("No file name", "open:" + path); - if (rld::verbose () >= RLD_VERBOSE_DETAILS) + if (rld::verbose () >= RLD_VERBOSE_TRACE) std::cout << "image::open: " << name (). full () << " refs:" << references_ + 1 << " writable:" << (char*) (writable_ ? "yes" : "no") @@ -394,7 +394,7 @@ namespace rld { if (references_ > 0) { - if (rld::verbose () >= RLD_VERBOSE_DETAILS) + if (rld::verbose () >= RLD_VERBOSE_TRACE) std::cout << "image::close: " << name ().full () << " refs:" << references_ << std::endl; @@ -1111,14 +1111,14 @@ namespace rld void object::load_symbols (rld::symbols::table& symbols, bool local) { - if (rld::verbose () >= RLD_VERBOSE_DETAILS) + if (rld::verbose () >= RLD_VERBOSE_TRACE) std::cout << "object:load-sym: " << name ().full () << std::endl; rld::symbols::pointers syms; elf ().get_symbols (syms, false, local); - if (rld::verbose () >= RLD_VERBOSE_DETAILS) + if (rld::verbose () >= RLD_VERBOSE_TRACE) std::cout << "object:load-sym: exported: total " << syms.size () << std::endl; @@ -1142,7 +1142,7 @@ namespace rld elf ().get_symbols (syms, true); - if (rld::verbose () >= RLD_VERBOSE_DETAILS) + if (rld::verbose () >= RLD_VERBOSE_TRACE) std::cout << "object:load-sym: unresolved: total " << syms.size () << std::endl; @@ -1166,7 +1166,7 @@ namespace rld void object::load_relocations () { - if (rld::verbose () >= RLD_VERBOSE_DETAILS) + if (rld::verbose () >= RLD_VERBOSE_TRACE) std::cout << "object:load-relocs: " << name ().full () << std::endl; elf ().load_relocations (); |