summaryrefslogtreecommitdiff
path: root/rld-elf.cpp
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2012-12-15 23:19:21 +1100
committerChris Johns <chrisj@rtems.org>2012-12-15 23:19:21 +1100
commit1ce126d3fef1a7ad6129997b1a8b492d5c286183 (patch)
treec6a0cdd7ee22ea3c4ad101479d5a4101f5c7ddc1 /rld-elf.cpp
parent7c02253d5df3347a0ff85e43fd2a9dca0955b55f (diff)
Debug trace changes.
Diffstat (limited to 'rld-elf.cpp')
-rw-r--r--rld-elf.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/rld-elf.cpp b/rld-elf.cpp
index 5abab28..5cfcc8f 100644
--- a/rld-elf.cpp
+++ b/rld-elf.cpp
@@ -188,9 +188,10 @@ namespace rld
}
if (rld::verbose () >= RLD_VERBOSE_FULL_DEBUG)
- std::cout << "elf::section: " << name ()
+ std::cout << "elf::section: index=" << index ()
+ << " name='" << name () << "'"
<< " size=" << size ()
- << " align=" << shdr.sh_addralign
+ << " align=" << alignment ()
<< " flags=0x" << std::hex << flags () << std::dec
<< std::endl;
}
@@ -815,7 +816,7 @@ namespace rld
bool weak,
bool global)
{
- if (rld::verbose () >= RLD_VERBOSE_DETAILS)
+ if (rld::verbose () >= RLD_VERBOSE_TRACE_SYMS)
std::cout << "elf:get-syms: unresolved:" << unresolved
<< " local:" << local
<< " weak:" << weak