From 3fd45d35ebdab426fbf6b1ed0c11a7bcf030e931 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Tue, 28 Oct 2014 01:13:47 -0700 Subject: toolkit: Fix the map formatting. --- rtemstoolkit/rld-symbols.cpp | 4 ++-- 1 file 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 (); -- cgit v1.2.3