[rtems-tools commit] toolkit: Fix the map formatting.
Chris Johns
chrisj at rtems.org
Thu Oct 30 06:49:36 UTC 2014
Module: rtems-tools
Branch: master
Commit: 3fd45d35ebdab426fbf6b1ed0c11a7bcf030e931
Changeset: http://git.rtems.org/rtems-tools/commit/?id=3fd45d35ebdab426fbf6b1ed0c11a7bcf030e931
Author: Chris Johns <chrisj at rtems.org>
Date: Tue Oct 28 01:13:47 2014 -0700
toolkit: Fix the map formatting.
---
rtemstoolkit/rld-symbols.cpp | 4 ++--
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 ();
More information about the vc
mailing list