summaryrefslogtreecommitdiff
path: root/rld-elf.cpp
diff options
context:
space:
mode:
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