summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2014-10-28 01:13:47 -0700
committerChris Johns <chrisj@rtems.org>2014-10-28 01:13:47 -0700
commit3fd45d35ebdab426fbf6b1ed0c11a7bcf030e931 (patch)
treea6a7cef9914ed309ab510c818fb1e1599f3ef939
parenttoolkit: Update the comment. (diff)
downloadrtems-tools-3fd45d35ebdab426fbf6b1ed0c11a7bcf030e931.tar.bz2
toolkit: Fix the map formatting.
-rw-r--r--rtemstoolkit/rld-symbols.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/rtemstoolkit/rld-symbols.cpp b/rtemstoolkit/rld-symbols.cpp
index 3464017..79212db 100644
--- a/rtemstoolkit/rld-symbols.cpp
+++ b/rtemstoolkit/rld-symbols.cpp
@@ -247,7 +247,7 @@ namespace rld
break;
}
- out << std::setw (4) << index_
+ out << std::setw (5) << index_
<< ' ' << binding
<< ' ' << type
<< ' ' << std::setw(6) << es.st_shndx
@@ -373,7 +373,7 @@ namespace rld
void
output (std::ostream& out, const symtab& symbols)
{
- std::cout << " No. Scope Type Address Size Name" << std::endl;
+ out << " No. Index Scope Type SHNDX Address Size Name" << std::endl;
int index = 0;
for (symtab::const_iterator si = symbols.begin ();
si != symbols.end ();